summaryrefslogtreecommitdiff
path: root/ishtar/templates/form_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-18 17:49:57 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-18 17:51:30 +0200
commit7d2aa560ba859ebb593d34b062bf1faf09c8724c (patch)
tree4136673563f802d6de992512e3c4adde86ef2a4e /ishtar/templates/form_snippet.html
parent615457617e65019e0ce39b585f4eeb41b17ba61a (diff)
downloadIshtar-7d2aa560ba859ebb593d34b062bf1faf09c8724c.tar.bz2
Ishtar-7d2aa560ba859ebb593d34b062bf1faf09c8724c.zip
Djangoization - Major refactoring (step 1)
Diffstat (limited to 'ishtar/templates/form_snippet.html')
-rw-r--r--ishtar/templates/form_snippet.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/ishtar/templates/form_snippet.html b/ishtar/templates/form_snippet.html
deleted file mode 100644
index 2f841e078..000000000
--- a/ishtar/templates/form_snippet.html
+++ /dev/null
@@ -1,13 +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}}{% endif %}{% endfor %}