diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-01 21:59:52 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-01 21:59:52 +0100 |
| commit | 2e3624dc33d32325b4fe9c65d50f0a9c86b99c1b (patch) | |
| tree | 667d2e0a090b8d08c7c36c85462cdc09d8459d6f /archaeological_finds/templates/ishtar/forms | |
| parent | 33dd12e15379b98d29fd1edeaf416d28300fab81 (diff) | |
| download | Ishtar-2e3624dc33d32325b4fe9c65d50f0a9c86b99c1b.tar.bz2 Ishtar-2e3624dc33d32325b4fe9c65d50f0a9c86b99c1b.zip | |
Manage reference containers - manage loan and loan return
Diffstat (limited to 'archaeological_finds/templates/ishtar/forms')
| -rw-r--r-- | archaeological_finds/templates/ishtar/forms/qa_find_treatment.html | 14 |
1 files changed, 10 insertions, 4 deletions
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 @@ -27,20 +27,26 @@ </div> <div class="form-row"> + {{ form.reference_container }} <label for="{{form.reference_container.auto_id}}"> + {% trans "Change the reference container" %} + </label> + </div> + + <div class="form-row"> {{ form.create_treatment }} <label for="{{form.create_treatment.auto_id}}"> {% trans "Associate a treatment" %} </label> </div> <div id="new-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 %} <div class="form-row">{% endif %} {% include "blocks/bs_field_snippet.html" %} {% if not forloop.counter0|divisibleby:2 %} </div>{% endif %} {% endif %} - {% endfor %} + {% endfor %}{% endwith %} </div> {% endblock %} |
