From 7eaddb898570caaf19e94e3b2c889572eaf7a59c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 12 Sep 2019 21:19:19 +0200 Subject: New management of popup for new items - manage author and persons --- .../templates/blocks/bs_compact_form_snippet.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ishtar_common/templates/blocks/bs_compact_form_snippet.html (limited to 'ishtar_common/templates/blocks') 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 %} + +{% endif %} + +{% for hidden in form.hidden_fields %} +{{hidden}} +{% if hidden.errors %}
+ {{ hidden.errors }} +
{% endif %} +{% endfor %} + +{% csrf_token %} +
+{% for field in form.visible_fields %} + {% include "blocks/bs_field_snippet.html" %} +{% endfor %} +
+ -- cgit v1.2.3