{% extends 'account/base.html' %}
{% load buttons %}
{% load helpers %}
{% load render_table from django_tables2 %}
{% load i18n %}

{% block title %}{% trans "Bookmarks" %}{% endblock %}

{% block content %}
  <form method="post" class="form form-horizontal">
    {% csrf_token %}
    <input type="hidden" name="return_url" value="{% url 'account:bookmarks' %}" />

    {# Table #}
    <div class="row">
      <div class="col col-md-12">
        <div class="card">
          <div class="htmx-container table-responsive" id="object_list">
            {% include 'htmx/table.html' %}
          </div>
        </div>
      </div>
    </div>

    {# Form buttons #}
    <div class="card btn-list sticky-actions d-print-none" data-sticky-position="right" data-sticky-when="selection">
      <div class="btn-list bulk-action-buttons">
        {% bulk_delete_button model query_params=request.GET %}
      </div>
    </div>
  </form>
{% endblock %}
