{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_modify exfilters %} {% block extrahead %}{{ block.super }} {{ media }} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block coltype %}colM{% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} {% endif %}{% endif %} {% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% if to_field %}{% endif %} {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} {% if errors %}

{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{{ adminform.form.non_field_errors }} {% endif %}
{% block field_sets %} {% for fieldset in adminform %} {% include "admin/includes/fieldset.html" %} {% endfor %} {% endblock %}
{% for inline_admin_formset in inline_admin_formsets %} {% if inline_admin_formset|is_exinline %} {%if add %}Agregar{% else %}Editar{% endif %} {% if inline_admin_formset.opts.title %}{{ inline_admin_formset.opts.title }}{% else %}{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}{% endif %} ({{inline_admin_formset.formset|length}}) {% if forloop.counter != inline_admin_formsets|length%}|{% endif%} {% endif %} {% endfor %}
{% block after_field_sets %}{% endblock %} {% block after_related_objects %}{% endblock %} {% block inline_tabs %} {% endblock%} {% block inline_field_sets %} {% for inline_admin_formset in inline_admin_formsets %} {% extest as var %} {%if add %} {% extest var name=opts.verbose_name link='form' as var %} {% else %} {% extest var name=original|truncatewords:"18" link='form' as var %} {% endif %} {% include inline_admin_formset.opts.template with father='form' migas=var sl=forloop.first %} {% endfor %} {% endblock %} {% block submit_buttons_bottom %}{% submit_row %}{% endblock %} {% block admin_change_form_document_ready %} {% endblock %} {# JavaScript for prepopulated fields #} {% prepopulated_fields_js %}
{% endblock %}