diff options
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 |
commit | f5634457ef7882cbc9fcb30d0e12a61d4f13498a (patch) | |
tree | c616f2686db785b7b1103beb85636d1891cc354c /ishtar_common/templates/blocks/bs_form_snippet.html | |
parent | 4fba7337a52de2efd795b24cb9cd2797b1427987 (diff) | |
download | Ishtar-f5634457ef7882cbc9fcb30d0e12a61d4f13498a.tar.bz2 Ishtar-f5634457ef7882cbc9fcb30d0e12a61d4f13498a.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.html | 4 |
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 %} |