{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_modify material_form material_admin %} {% block brand-logo %}{{ title }}{% endblock %} {% if not is_popup %} {% block breadcrumbs_items %} All apps   {{ opts.verbose_name_plural|capfirst }}{% if add %}{% trans 'Add' %} {{ opts.verbose_name }}{% else %}{% trans 'Change' %}{% endif %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %} {% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if add %}New {{ opts.verbose_name }}{% else %}{{ adminform.form.instance|title }}{% endif %} {% if errors %}
{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% if adminform.form.non_field_errors %}
{{ adminform.form.non_field_errors }}
{% endif %}
{% endif %} {% fieldset_layout adminform as layout %} {% form form=adminform.form layout=layout %} {% endform %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% submit_row %}
{% endblock %}