Ticket #2612: 2612-multiple-fields-on-line.1.diff

File 2612-multiple-fields-on-line.1.diff, 903 bytes (added by brosner, 7 years ago)

updated to r8388

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

    diff --git a/django/contrib/admin/templates/admin/includes/fieldset.html b/django/contrib/admin/templates/admin/includes/fieldset.html
    index 27e54c7..26c918c 100644
    a b  
    55      <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} ">
    66      {{ line.errors }}
    77      {% for field in line %}
     8      <div class="float-left">
    89          {% if field.is_checkbox %}
    910              {{ field.field }}{{ field.label_tag }}
    1011          {% else %}
    1112              {{ field.label_tag }}{{ field.field }}
    1213          {% endif %}
    1314          {% if field.field.field.help_text %}<p class="help">{{ field.field.field.help_text|safe }}</p>{% endif %}
     15      </div>
    1416      {% endfor %}
    1517      </div>
    1618  {% endfor %}
Back to Top