summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-23 18:55:03 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-23 18:58:28 +0200
commit28d8a665e80515042085075a31c698d451d0702f (patch)
tree31afcf63998ee39bc34e1657244d9101bd20416d /ishtar_common/templates
parent2ae74b0b2a740b4055004778dc99e81769a52641 (diff)
downloadIshtar-28d8a665e80515042085075a31c698d451d0702f.tar.bz2
Ishtar-28d8a665e80515042085075a31c698d451d0702f.zip
Display field number when no custom field is available
Diffstat (limited to 'ishtar_common/templates')
-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 c7b97c6de..830dd4cfa 100644
--- a/ishtar_common/templates/blocks/bs_field_snippet.html
+++ b/ishtar_common/templates/blocks/bs_field_snippet.html
@@ -2,7 +2,7 @@
<div class="form-group {% if field.field.widget.attrs.cols %}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 %}<span class="badge badge-pill badge-success field-tip">
+ {% if show_field_number and field.field.order_number %}<span class="badge badge-pill badge-success field-tip">
{{field.field.order_number}}
</span>{% endif %}
{% if field.help_text %}