{% extends 'shared/layout.html' %}
{% block head %}
  {% with page_title="Edit bookmark - Linkding" %}{{ block.super }}{% endwith %}
{% endblock %}
{% block content %}
  <div class="bookmarks-form-page">
    <main aria-labelledby="main-heading">
      <div class="section-header">
        <h1 id="main-heading">Edit bookmark</h1>
      </div>
      <ld-form data-submit-on-ctrl-enter>
        <form action="{% url 'linkding:bookmarks.edit' bookmark_id %}?return_url={{ return_url|urlencode }}"
              method="post"
              novalidate>
          {% include 'bookmarks/form.html' %}
        </form>
      </ld-form>
    </main>
  </div>
{% endblock %}
