Commits

Rich Atkinson committed ed02c7a

Added block definitions to admin/change_form.html for better compatability with standard django admin

  • Participants
  • Parent commits eca6cdf
  • Branches default

Comments (0)

Files changed (1)

admintools_bootstrap/templates/admin/change_form.html

 {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
 {% if save_on_top %}{% submit_row %}{% endif %}
 
+{% block field_sets %}
 {% for fieldset in adminform %}
   {% include "admin/includes/fieldset.html" %}
 {% endfor %}
+{% endblock %}
 
 {% block after_field_sets %}{% endblock %}
 
+{% block inline_field_sets %}
 {% for inline_admin_formset in inline_admin_formsets %}
     {% include inline_admin_formset.opts.template %}
 {% endfor %}
+{% endblock %}
 
 {% block after_related_objects %}{% endblock %}