From 2e3624dc33d32325b4fe9c65d50f0a9c86b99c1b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 1 Dec 2018 21:59:52 +0100 Subject: Manage reference containers - manage loan and loan return --- .../templates/ishtar/forms/qa_find_treatment.html | 14 ++++++++++---- archaeological_finds/templates/ishtar/sheet_find.html | 16 +++++++++++++--- 2 files changed, 23 insertions(+), 7 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/forms/qa_find_treatment.html b/archaeological_finds/templates/ishtar/forms/qa_find_treatment.html index ef3906735..f20f0cb65 100644 --- a/archaeological_finds/templates/ishtar/forms/qa_find_treatment.html +++ b/archaeological_finds/templates/ishtar/forms/qa_find_treatment.html @@ -26,21 +26,27 @@ {% endwith %} +
+ {{ form.reference_container }}  +
+
{{ form.create_treatment }} 
- {% for field in form %} - {% if field.name != 'container' and field.name != 'create_treatment' %} - {% if forloop.counter0|divisibleby:2 %} + {% with force_large_col=True %}{% for field in form %} + {% if field.name != 'reference_container' and field.name != 'container' and field.name != 'create_treatment' %} + {% if forloop.counter|divisibleby:2 %}
{% endif %} {% include "blocks/bs_field_snippet.html" %} {% if not forloop.counter0|divisibleby:2 %}
{% endif %} {% endif %} - {% endfor %} + {% endfor %}{% endwith %}
{% endblock %} diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 4d6fe568c..1aa5220bf 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -39,7 +39,7 @@ {% endif %} - {% if item.container or item.upstream_treatment or item.downstream_treatment or item.treatments.count %} + {% if item.container or item.container_ref or item.upstream_treatment or item.downstream_treatment or item.treatments.count %}