Ticket #7796: 7796.patch

File 7796.patch, 826 bytes (added by mk, 7 years ago)
  • 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 a61795c..27e54c7 100644
    a b  
    11<fieldset class="module aligned {{ fieldset.classes }}">
    22  {% if fieldset.name %}<h2>{{ fieldset.name }}</h2>{% endif %}
    3   {% if fieldset.description %}<div class="description">{{ fieldset.description }}</div>{% endif %}
     3  {% if fieldset.description %}<div class="description">{{ fieldset.description|safe }}</div>{% endif %}
    44  {% for line in fieldset %}
    55      <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} ">
    66      {{ line.errors }}
Back to Top