{% extends 'base.html' %} {% block form_open %}
{% endblock %} {% block content %} {% if view.object_list|default([])|length %} {% endif %} {% if view.invalid_pks|default(0) %}
{{ _('Objects ignored because of missing authorization') }}: {{ view.invalid_pks }}
{% endif %} {{ render_form(view.form) }} {% endblock %} {% block buttons %} {% if request.META.get('HTTP_X_MODAL') %} {{ _('cancel') }} {% endif %} {{ render_button(view.title_submit, button_type="submit", button_class="btn-primary") }} {% endblock %} {% block form_close %} {% if view.next_url %} {% endif %} {% csrf_token %}
{% endblock %}