<turbo-frame id="tag-modal">
<form method="post"
      action="{% url 'linkding:tags.edit' tag.id %}?{{ request.GET.urlencode }}"
      data-turbo-frame="tag-main"
      novalidate>
  {% csrf_token %}
  <ld-modal class="modal tag-edit-modal active"
            data-close-url="{% url 'linkding:tags.index' %}?{{ request.GET.urlencode }}"
            data-turbo-frame="tag-modal">
    <div class="modal-overlay" data-close-modal></div>
    <div class="modal-container" role="dialog" aria-modal="true">
      {% include 'shared/modal_header.html' with title="Edit Tag" %}
      <div class="modal-body">{% include 'tags/form.html' %}</div>
      <div class="modal-footer d-flex justify-between">
        <button type="button" class="btn btn-wide" data-close-modal>Cancel</button>
        <button type="submit" class="btn btn-primary btn-wide">Save</button>
      </div>
    </div>
  </ld-modal>
</form>
</turbo-frame>
