{% load buttons %} {% load i18n %}
{# Object table controls #} {# Form buttons #}
{% block bulk_buttons %}
{% bulk_edit_button model query_params=request.GET %} {% if appliance_type == 'both' or appliance_type == 'pull' %} {% if connection_status == 'connected' %} {% endif %} {% endif %}
{% endblock %}

{% csrf_token %} {# "Select all" form #} {% if table.paginator.num_pages > 1 %}
{% if 'bulk_edit' in actions %} {% bulk_edit_button model query_params=request.GET %} {% endif %} {% if 'bulk_delete' in actions %} {% bulk_delete_button model query_params=request.GET %} {% endif %}
{% endif %}
{% csrf_token %} {# Object table #} {% if prerequisite_model %} {% include 'inc/missing_prerequisites.html' %} {% endif %}
{% include 'htmx/table.html' %}