summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_form_snippet.html
diff options
context:
space:
mode:
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 %}