summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-02-14 18:31:57 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-02-14 18:31:57 +0100
commitc25eb9a7609a87c7fa51ac4a93aa95e29f4802fd (patch)
tree3f4f51e386b53bc15cbe6e2da85e514463bc0895 /ishtar_common/templates/blocks
parent43fe3a5c6f92ff65e444b3305e577779eee8302f (diff)
downloadIshtar-c25eb9a7609a87c7fa51ac4a93aa95e29f4802fd.tar.bz2
Ishtar-c25eb9a7609a87c7fa51ac4a93aa95e29f4802fd.zip
CSS: improve checkbox fields, delete fields and fields with previous items
Diffstat (limited to 'ishtar_common/templates/blocks')
-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 bbcc31597..43509eefc 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 class="form-group {% 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 %}"
+ <div 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 %}"
data-alt-name="{{field.field.alt_name}}">
{% if field.label %}{{ field.label_tag }}{% endif %}
{% if show_field_number or form.show_field_number %}