diff options
-rw-r--r-- | ishtar_common/static/media/styles.css | 4 | ||||
-rw-r--r-- | ishtar_common/templates/blocks/bs_field_snippet.html | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ishtar_common/static/media/styles.css b/ishtar_common/static/media/styles.css index 7d8789cc8..0526ee49e 100644 --- a/ishtar_common/static/media/styles.css +++ b/ishtar_common/static/media/styles.css @@ -2,6 +2,10 @@ display: none; } +.required label{ + font-weight: bold; +} + .search .form-group { margin-bottom: 0.2rem; font-size: 0.9em; diff --git a/ishtar_common/templates/blocks/bs_field_snippet.html b/ishtar_common/templates/blocks/bs_field_snippet.html index bf341db8e..c157461b7 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 col-lg-6"> + <div class="form-group col-lg-6{% if field.field.required %} required{% endif %}"> {{ field.label_tag }} {% if field.help_text %} <div class="input-group"> |