Supprimé des sources qui ne fonctionnent plus
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / render_field.html
CommitLineData
932eef9a
AJ
1<tr>
2 {% if field.is_hidden %}
932eef9a 3 {{ field }}
6b63c05b 4 {% else %}
cf4091c8 5 <th{{ field.row_attrs }} class="required" style="width: 150px;">
e427f068 6 {{ field.label_tag }}&nbsp;{% if field.field.required %}<span style="color:red">*</span>{% endif %}
6b63c05b 7 {% if field.errors %}
8 {{ field.errors }}
9 {% endif %}
cf4091c8 10 </th>
3eb00212 11 <td>{{ field }}
cbae0173
AJ
12 {% if field.field.help_text %}<p class="help">{{ field.field.help_text|safe }}</p>{% endif %}
13 </td>
932eef9a
AJ
14 {% endif %}
15</tr>