Ticket #16371: fieldset.diff
File fieldset.diff, 1.0 KB (added by , 13 years ago) |
---|
-
django/contrib/admin/templates/admin/includes/fieldset.html
4 4 <div class="description">{{ fieldset.description|safe }}</div> 5 5 {% endif %} 6 6 {% for line in fieldset %} 7 <div class="form-row{% if line.fields|length_is:'1' and line.errors %} errors{% endif %}{% for field in line %} {{ field.field.name }}{% endfor %}">7 <div class="form-row{% if line.fields|length_is:'1' and line.errors %} errors{% endif %}{% for field in line %} form-row-field-{{ field.field.name }}{% endfor %}"> 8 8 {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} 9 9 {% for field in line %} 10 10 <div{% if not line.fields|length_is:'1' %} class="field-box{% if not field.is_readonly and field.errors %} errors{% endif %}"{% endif %}>