Ticket #13068: prepopulate.6-1.3.diff
File prepopulate.6-1.3.diff, 1.3 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 %}"> 8 8 {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} 9 9 {% for field in line %} 10 <div{% if not line.fields|length_is:'1' %} class="field-box{% if not field.is_readonly and field.errors %} errors{% endif %} "{% endif %}>10 <div{% if not line.fields|length_is:'1' %} class="field-box{% if not field.is_readonly and field.errors %} errors{% endif %} {{ field.field.name }}"{% endif %}> 11 11 {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} 12 12 {% if field.is_checkbox %} 13 13 {{ field.field }}{{ field.label_tag }}