summaryrefslogtreecommitdiff
path: root/ishtar/templates/grid_form.html
blob: 8c02197b405f1750981cee983a11d4946a3dbb08 (plain)
1
2
3
4
5
6
7
8
9
10
{% load i18n %}
  {% for field in form %}
  <tr{% if field.field.required %} class='required'{% endif %}>
    <th>{{ field.label_tag }}</th>
    <td> {{ field.errors }}{{field|safe}}</td>{% if field.help_text %}
    <td><a href="#{{field.name}}" class="help_display" title="{% trans "Help"%}">?</a></td>
  </tr>
  <tr class="help_text" id="{{field.name}}_help">
    <td colspan="3"><div>{{field.help_text}}</div></td>
  {%endif%}</tr>{% endfor %}