Django

Code

Ticket #6061: patch.diff

File patch.diff, 0.7 kB (added by baumer1122, 1 year ago)
  • contrib/admin/templates/admin/field_line.html

    old new  
    55  {% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %} 
    66  {% field_widget bound_field %} 
    77  {% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %} 
    8   {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %} 
     8  {% if bound_field.field.help_text %}<p class="help">{{ bound_field.field.help_text|safe }}</p>{% endif %} 
    99{% endfor %} 
    1010</div>