diff options
Diffstat (limited to 'ishtar_common/templates/blocks/form_snippet.html')
| -rw-r--r-- | ishtar_common/templates/blocks/form_snippet.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ishtar_common/templates/blocks/form_snippet.html b/ishtar_common/templates/blocks/form_snippet.html deleted file mode 100644 index 5ee88e25f..000000000 --- a/ishtar_common/templates/blocks/form_snippet.html +++ /dev/null @@ -1,16 +0,0 @@ -{% load i18n %} - {% if form.non_field_errors %}<tr class='errors'> - <td colspan='3'>{{form.non_field_errors}}</td> - </tr>{%endif%} - {% for field in form %}{% if not field.is_hidden %} - <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.auto_id}}" class="help_display" title="{% trans "Help"%}">?</a></td> - </tr> - <tr class="help_text" id="{{field.auto_id}}_help"> - <td colspan="3"><div>{{field.help_text}}</div></td> - {%endif%}</tr>{% else %}{{field}}{% if field.errors %} - <tr class='errors'> - <td colspan='3'>{{field.name}} - {{ field.errors }}</td> - </tr>{% endif %}{{field|safe}}{% endif %}{% endfor %} |
