Ticket #8499: fieldset.patch

File fieldset.patch, 860 bytes (added by Robert Myers, 16 years ago)

fix fieldset error css

  • django/contrib/admin/templates/admin/includes/fieldset.html

     
    22  {% if fieldset.name %}<h2>{{ fieldset.name }}</h2>{% endif %}
    33  {% if fieldset.description %}<div class="description">{{ fieldset.description|safe }}</div>{% endif %}
    44  {% for line in fieldset %}
    5       <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} ">
     5      <div class="form-row{% if line.errors %} error{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} ">
    66      {{ line.errors }}
    77      {% for field in line %}
    88          {% if field.is_checkbox %}
Back to Top