{% extends base_template %} {% load i18n %} {% load xadmin_tags %} {% load crispy_forms_tags %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block nav_title %}{% if model_icon %} {% endif %} {{ title }}{% endblock %} {% block content %}
{% csrf_token %} {% block form_top %}{% endblock %} {% view_block 'form_top' %} {% if errors %}
{% blocktrans count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
{% endif %} {% view_block 'before_fieldsets' %} {% crispy form %} {% view_block 'after_fieldsets' %} {% block submit_buttons_bottom %}{% include "xadmin/includes/submit_line.html" %}{% endblock %}
{% endblock %}