Commit e28c5acd734ab97992bcf6b3e5d4088f4ab57f8a
1 parent
5c3cbd52
Exists in
master
and in
3 other branches
Including mandatory fields signaling in the subjects
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
subjects/templates/subjects/_form.html
... | ... | @@ -49,7 +49,11 @@ |
49 | 49 | {% else %} |
50 | 50 | <div class="form-group {% if form.has_error %} has-error {% endif %} is-fileinput"> |
51 | 51 | {% if field.auto_id != 'id_visible' %} |
52 | - <label for="{{ field.auto_id }}">{{ field.label }}</label> | |
52 | + {% if field.field.required %} | |
53 | + <label for="{{ field.auto_id }}">{{ field.label }} <span>*</span></label> | |
54 | + {% else %} | |
55 | + <label for="{{ field.auto_id }}">{{ field.label }}</label> | |
56 | + {% endif %} | |
53 | 57 | {% endif %} |
54 | 58 | {% if field.auto_id == 'id_visible' %} |
55 | 59 | <div class="checkbox"> | ... | ... |