diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-03 17:14:13 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-03 17:14:41 +0100 |
commit | 1ec422545704e35f9a1fe2eaa5f974cc82d5179f (patch) | |
tree | aeef3e6775cadaff9b948aa142dfdac39d250859 /archaeological_context_records/templates/ishtar | |
parent | c79ec86652742f9e98df25c3ef187d0022aa5a5b (diff) | |
download | Ishtar-1ec422545704e35f9a1fe2eaa5f974cc82d5179f.tar.bz2 Ishtar-1ec422545704e35f9a1fe2eaa5f974cc82d5179f.zip |
Sheet operation QA: add context record
Diffstat (limited to 'archaeological_context_records/templates/ishtar')
-rw-r--r-- | archaeological_context_records/templates/ishtar/forms/qa_operation_contextrecord.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/archaeological_context_records/templates/ishtar/forms/qa_operation_contextrecord.html b/archaeological_context_records/templates/ishtar/forms/qa_operation_contextrecord.html new file mode 100644 index 000000000..c782832ff --- /dev/null +++ b/archaeological_context_records/templates/ishtar/forms/qa_operation_contextrecord.html @@ -0,0 +1,28 @@ +{% 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 "Quick add context record" %}</h4> + +{% for hidden in form.hidden_fields %}{{hidden}} +{% if hidden.errors %}<div class="invalid-feedback"> + {{ hidden.errors }} +</div>{% endif %} +{% endfor %} +{% with force_large_col=True %}{% for field in form %} +<div class="form-row"> + {% include "blocks/bs_field_snippet.html" %} +</div> +{% endfor %}{% endwith %} + +<div class="alert alert-info"> + {% trans "To put more information to the context record use the full form on the top menu: \"Context record > Add\"." %} +</div> +{% endblock %} + |