From 3808df22596ff03e8b24c9b97506f68c86197c60 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 6 Mar 2020 11:41:54 +0100 Subject: Sheet actions: add duplicate for site, operation, document and context record --- .../ishtar/forms/qa_document_duplicate.html | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 ishtar_common/templates/ishtar/forms/qa_document_duplicate.html (limited to 'ishtar_common/templates/ishtar/forms/qa_document_duplicate.html') diff --git a/ishtar_common/templates/ishtar/forms/qa_document_duplicate.html b/ishtar_common/templates/ishtar/forms/qa_document_duplicate.html new file mode 100644 index 000000000..4dc04d15d --- /dev/null +++ b/ishtar_common/templates/ishtar/forms/qa_document_duplicate.html @@ -0,0 +1,95 @@ +{% extends "ishtar/forms/qa_base.html" %} +{% load i18n inline_formset table_form %} + +{% block main_form %} +{% if form.non_field_errors %} + +{% endif %} +{% with force_large_col=True %} +
+ {% with form.qa_title as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+
+ {% with form.qa_source_type as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endwith %} + +{% if form.qa_finds %} +
+ {% with form.qa_finds as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_context_records %} +
+ {% with form.qa_context_records as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_operations %} +
+ {% with form.qa_operations as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_sites %} +
+ {% with form.qa_sites as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_files %} +
+ {% with form.qa_files as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_warehouses %} +
+ {% with form.qa_warehouses as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_containers %} +
+ {% with form.qa_containers as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_treatments %} +
+ {% with form.qa_treatments as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% if form.qa_files %} +
+ {% with form.qa_treatment_files as field %} + {% include "blocks/bs_field_snippet.html" %} + {% endwith %} +
+{% endif %} + +{% endblock %} -- cgit v1.2.3