diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-12 21:19:19 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-12 21:19:58 +0200 |
| commit | 7eaddb898570caaf19e94e3b2c889572eaf7a59c (patch) | |
| tree | 9501168bcf42a290b63a6008faa75651e9fd61eb /ishtar_common/templates/blocks | |
| parent | 70f0fa29fac15c03f1c7af0f185b70be480b2d45 (diff) | |
| download | Ishtar-7eaddb898570caaf19e94e3b2c889572eaf7a59c.tar.bz2 Ishtar-7eaddb898570caaf19e94e3b2c889572eaf7a59c.zip | |
New management of popup for new items - manage author and persons
Diffstat (limited to 'ishtar_common/templates/blocks')
| -rw-r--r-- | ishtar_common/templates/blocks/bs_compact_form_snippet.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/bs_compact_form_snippet.html b/ishtar_common/templates/blocks/bs_compact_form_snippet.html new file mode 100644 index 000000000..6857c0343 --- /dev/null +++ b/ishtar_common/templates/blocks/bs_compact_form_snippet.html @@ -0,0 +1,21 @@ +{% load i18n from_dict %} +{% if form.non_field_errors %} +<div class="alert alert-danger" role="alert"> + {{form.non_field_errors}} +</div> +{% endif %} + +{% for hidden in form.hidden_fields %} +{{hidden}} +{% if hidden.errors %}<div class="invalid-feedback"> + {{ hidden.errors }} +</div>{% endif %} +{% endfor %} + +{% csrf_token %} +<div class="form-row"> +{% for field in form.visible_fields %} + {% include "blocks/bs_field_snippet.html" %} +{% endfor %} +</div> + |
