registration form with survey
[prawokultury.git] / prawokultury / templates / snippets / field_as_table_row.html
diff --git a/prawokultury/templates/snippets/field_as_table_row.html b/prawokultury/templates/snippets/field_as_table_row.html
new file mode 100644 (file)
index 0000000..5dcc98e
--- /dev/null
@@ -0,0 +1,4 @@
+<tr{% if field.css_classes %} class="{{ field.css_classes }}"{% endif %}>
+  <th>{{ field.label_tag }}</th>
+  <td>{{ field.errors }}{{ field }}{% if field.help_text %}<br /><span class="helptext">{{ field.help_text }}</span>{% endif %}</td>
+</tr>
\ No newline at end of file