{% extends 'pbx_admin/base.html' %} {% load admin_tags %} {% block panel_heading %} {% if menu_items %} {% for item in menu_items %} {% if request.path == item.url %} {{ item.name }} {% endif %} {% endfor %} {% else %} {{ breadcrumbs|last|first }} {% endif %} {% endblock %} {% block bar_alerts %} {{ block.super }} {% if form.non_field_errors %} {% endif %} {% for formset in formsets %} {% if formset.non_field_errors %} {% endif %} {% endfor %} {% endblock %} {% block content %} {% with label_class='col-lg-3' field_class='col-lg-5' %}
{% csrf_token %} {{ parent_field }} {% block fieldsets %} {% for title, fieldset in fieldsets %} {% if title %}
{{ title }}
{% endif %} {% fieldset fieldset fieldset.form fieldset.formset fieldset.nested_list fieldset.sub_object %} {{ fieldset.html|safe }} {% endfor %} {% endblock %}
{% block extra_content %}{% endblock %} {% endwith %} {% endblock %} {% block extra_head %} {{ form.media }} {% endblock extra_head %}