summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_form_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-05-28 16:58:42 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:49:36 +0200
commit1dc2eb2ebc5a837d745358620f1dfd35544632ac (patch)
treec616f2686db785b7b1103beb85636d1891cc354c /ishtar_common/templates/blocks/bs_form_snippet.html
parenteba5908a065ba3461fdc1337f617c1af7f2abc60 (diff)
downloadIshtar-1dc2eb2ebc5a837d745358620f1dfd35544632ac.tar.bz2
Ishtar-1dc2eb2ebc5a837d745358620f1dfd35544632ac.zip
User profile form: duplicate, delete and edit
Diffstat (limited to 'ishtar_common/templates/blocks/bs_form_snippet.html')
-rw-r--r--ishtar_common/templates/blocks/bs_form_snippet.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html
index 818c654d1..47779cdc1 100644
--- a/ishtar_common/templates/blocks/bs_form_snippet.html
+++ b/ishtar_common/templates/blocks/bs_form_snippet.html
@@ -64,9 +64,9 @@
{% if forloop.counter0 %}
</div>{% endif %}
<h3>{{field.name|from_dict:form.HEADERS|call:'render'}}</h3>
-<div class="form-row">
+<div class="form-row{% if odd %} odd{% endif %}">
{% elif not search and not forloop.counter0 or search and forloop.counter0 == 1 %}
- <div class="form-row">
+ <div class="form-row{% if odd %} odd{% endif %}">
{% endif %}
{% include "blocks/bs_field_snippet.html" %}
{% if forloop.last %}