source: asadb/template/form_utils/fields_as_trs.html

space-accessstablestagetest-hooks
Last change on this file was eabc6ee, checked in by Alex Dehnert <adehnert@…>, 14 years ago

Display help_text in BetterModelForm? instances

  • Property mode set to 100644
File size: 294 bytes
Line 
1{% for field in fields %}
2{% if field.is_hidden %}
3{{ field }}
4{% else %}
5<tr{{ field.row_attrs }}>
6  <th>
7    {{ field.label_tag }}
8  </th>
9  <td>
10    {{ field.errors }}
11    {{ field }}
12    {% if field.help_text %}<p>{{ field.help_text }}</p>{% endif %}
13  </td>
14</tr>
15{% endif %}
16{% endfor %}
Note: See TracBrowser for help on using the repository browser.