Ticket #7425: change_form.patch

File change_form.patch, 704 bytes (added by wiremine@…, 16 years ago)

change_form.html patch to correctly inherit body class values from parent templates

  • change_form.html

     
    66{% endblock %}
    77{% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock %}
    88{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}
    9 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
     9{% block bodyclass %}{{block.super}} {{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
    1010{% block breadcrumbs %}{% if not is_popup %}
    1111<div class="breadcrumbs">
    1212     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
Back to Top