{% extends base_template %} {% load i18n static bootstrap3 popupcrud_list bsmodal %} {% block extrahead %} {% endblock extrahead %} {% block content %} {% block create_new %} {% if new_url %}
{% if legacy_crud %} {{ new_button_text }} {% else %} {{ new_button_text }} {% endif %}
{% endif %} {% endblock create_new %} {% if object_list %} {% list_content %} {% include "popupcrud/_pagination.html" %} {% else %}

{% block empty_table_label %}{% trans "No items." %}{% endblock empty_table_label %}

{% endif %} {% if not legacy_crud %} {% bsmodal '??' 'create-edit-modal' close_title_button=Yes header_bg_css=bg-primary %} {# modal body will be filled in by jQuery.load() return value #} ?? {% endbsmodal %} {% bsmodal '??' 'detail-modal' close_title_button=Yes header_bg_css=bg-primary %} {# modal body will be filled in by jQuery.load() return value #} ?? {% endbsmodal %} {% trans 'Confirm Delete' as confirm_delete_title %} {% bsmodal confirm_delete_title 'delete-modal' close_title_button=Yes header_bg_css=bg-primary %} {{ model_options.verbose_name }}:


{% trans 'Are you sure you want to delete this?' %}

{% csrf_token %}
{% endbsmodal %} {% trans 'Deleted' as deleted %} {% bsmodal deleted 'delete-result-modal' close_title_button=Yes header_bg_css=bg-primary %}

{% endbsmodal %} {% endif %} {# legacy_crud #} {% endblock content %}