Ticket #4991: contrib.diff
File contrib.diff, 1.4 KB (added by , 17 years ago) |
---|
-
django/contrib/admin/templates/admin/field_line.html
5 5 {% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %} 6 6 {% field_widget bound_field %} 7 7 {% 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|escape }}</p>{% endif %} 9 9 {% endfor %} 10 10 </div> -
django/contrib/admin/templates/admin_doc/model_detail.html
35 35 <tr> 36 36 <td>{{ field.name }}</td> 37 37 <td>{{ field.data_type }}</td> 38 <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text }}{% endif %}</td>38 <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|escape }}{% endif %}</td> 39 39 </tr> 40 40 {% endfor %} 41 41 </tbody>