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.html27
1 files changed, 2 insertions, 25 deletions
diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html
index a9042ff67..dc24b2849 100644
--- a/ishtar_common/templates/blocks/bs_form_snippet.html
+++ b/ishtar_common/templates/blocks/bs_form_snippet.html
@@ -64,31 +64,8 @@
<div class="form-row">
{% endif %}
- <div class="form-group col-lg-6">
- {{ field.label_tag }}
- {% if field.help_text %}
- <div class="input-group">
- {% endif %}
- {{field|safe}}
- {% if field.help_text %}
- <span class="input-group-append">
- <a class="input-group-text" data-toggle="collapse"
- href="#{{field.auto_id}}_help"
- aria-expanded="false" aria-controls="{{field.auto_id}}_help">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- </a>
- </span>
- </div>
- <div class="collapse" id="{{field.auto_id}}_help">
- <div class="card card-body">
- {{field.help_text}}
- </div>
- </div>
- {% endif %}
- {% if field.errors %}<div class="invalid-feedback">
- {{ field.errors }}
- </div>{% endif %}
- </div>
+
+ {% include "blocks/bs_field_snippet.html" %}
{% if forloop.last %}
{% if search and forloop.counter0 >= 1 %}
</div>