Ticket #4359: unicode-escape-help-text.diff
File unicode-escape-help-text.diff, 1.9 KB (added by , 17 years ago) |
---|
-
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|escape %}<p class="help">{{ bound_field.field.help_text|escape }}</p>{% endif %} 9 9 {% endfor %} 10 10 </div> -
contrib/admin/templates/admin/auth/user/add_form.html
10 10 <div class="form-row"> 11 11 {{ form.username.html_error_list }} 12 12 <label for="id_username" class="required">{% trans 'Username' %}:</label> {{ form.username }} 13 <p class="help">{{ username_help_text }}</p>13 <p class="help">{{ username_help_text|escape }}</p> 14 14 </div> 15 15 16 16 <div class="form-row"> -
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|escape %} - {{ field.help_text|escape }}{% endif %}</td> 39 39 </tr> 40 40 {% endfor %} 41 41 </tbody>