diff options
Diffstat (limited to 'ishtar_common/templates/blocks/bs_form_snippet.html')
| -rw-r--r-- | ishtar_common/templates/blocks/bs_form_snippet.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html index dc24b2849..c636465f3 100644 --- a/ishtar_common/templates/blocks/bs_form_snippet.html +++ b/ishtar_common/templates/blocks/bs_form_snippet.html @@ -13,10 +13,9 @@ {% endfor %} {% for field in form.visible_fields %} -{% if field.name == 'pk' %} +{% if form.SEARCH_AND_SELECT %} {{field}} {% elif field.name == 'search_vector' and forloop.counter0 == 0 %} - <div class="form-row"> <div class="form-group col-lg-10"> <div class="input-group"> @@ -63,8 +62,6 @@ </div>{% endif %} <div class="form-row"> {% endif %} - - {% include "blocks/bs_field_snippet.html" %} {% if forloop.last %} {% if search and forloop.counter0 >= 1 %} |
