summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_field_snippet.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-07-07 09:39:29 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-10-25 12:06:02 +0200
commit62823edbc5cb453869f5a07f690658580ed8df71 (patch)
tree52fd5556d11e905b775dc8e4cf8bf7b41c88b8ee /ishtar_common/templates/blocks/bs_field_snippet.html
parent2d0512c72b2a8feb6fa10c3cd8b8c53bc74a9ba6 (diff)
downloadIshtar-62823edbc5cb453869f5a07f690658580ed8df71.tar.bz2
Ishtar-62823edbc5cb453869f5a07f690658580ed8df71.zip
Preventive file - inline forms
Diffstat (limited to 'ishtar_common/templates/blocks/bs_field_snippet.html')
-rw-r--r--ishtar_common/templates/blocks/bs_field_snippet.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/bs_field_snippet.html b/ishtar_common/templates/blocks/bs_field_snippet.html
index dcee87f7f..beecf624f 100644
--- a/ishtar_common/templates/blocks/bs_field_snippet.html
+++ b/ishtar_common/templates/blocks/bs_field_snippet.html
@@ -1,5 +1,5 @@
{% load i18n %}
- <div id="main_div-{{field.auto_id}}" class="form-group{% if not field.label %} no-label{% endif %} {% if field.field.widget.attrs.cols or force_large_col %}col-lg-12{% else %}col-lg-6{% endif %}{% if field.errors %} is-invalid{% endif %}{% if field.field.required %} required{% endif %}{% if force_large_col %} full-width{% endif %}"
+ <div id="main_div-{{field.auto_id}}" class="form-group{% if not field.label %} no-label{% endif %} {% if bs_col_width %}{{bs_col_width}}{% elif field.field.widget.attrs.bs_col_width %}{{field.field.widget.attrs.bs_col_width}}{% else %}{% if field.field.widget.attrs.cols or force_large_col %}col-lg-12{% else %}col-lg-6{% endif %}{% endif %}{% if field.errors %} is-invalid{% endif %}{% if field.field.required %} required{% endif %}{% if force_large_col %} full-width{% endif %}"
data-alt-name="{{field.field.alt_name}}">
{% if field.label %}{{ field.label_tag }}{% endif %}
{% if extra_field_label %}<label><em>{{extra_field_label}}</em></label>{% endif %}