diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-03 12:30:35 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | c996469e842ef3541f5b1290d2541dd6d2f2844e (patch) | |
tree | 0846cdf2ba3e22ea54a5f0054dccd703fbdb2879 /ishtar_common/templates/ishtar/forms/qa_document_packaging.html | |
parent | 2f86de32aac26c4e019a9e136a6301afef0b7884 (diff) | |
download | Ishtar-c996469e842ef3541f5b1290d2541dd6d2f2844e.tar.bz2 Ishtar-c996469e842ef3541f5b1290d2541dd6d2f2844e.zip |
Document QA: packaging - fix QA for search and edit
Diffstat (limited to 'ishtar_common/templates/ishtar/forms/qa_document_packaging.html')
-rw-r--r-- | ishtar_common/templates/ishtar/forms/qa_document_packaging.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/forms/qa_document_packaging.html b/ishtar_common/templates/ishtar/forms/qa_document_packaging.html new file mode 100644 index 000000000..02f60e6c0 --- /dev/null +++ b/ishtar_common/templates/ishtar/forms/qa_document_packaging.html @@ -0,0 +1,32 @@ +{% extends "ishtar/forms/qa_base.html" %} +{% load i18n inline_formset table_form %} + +{% block main_form %} + {% if form.non_field_errors %} + <div class="alert alert-danger" role="alert"> + {{form.non_field_errors}} + </div> + {% endif %} + + <h4>{% trans "Documents" %}</h4> + <ul>{% for item in items %} + <li>{{item}}</li>{% endfor %} + </ul> + + <h4>{% trans "Packaging" %}</h4> + {% for hidden in form.hidden_fields %} + {{hidden}} + {% if hidden.errors %}<div class="invalid-feedback"> + {{ hidden.errors }} + </div>{% endif %} + {% endfor %} + <div class="form-row"> + {% with form.container as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} + {% with form.container_to_change as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} + </div> +{% endblock %} + |