summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-09-19 11:54:25 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-09-19 11:54:25 +0200
commit4e02ff3d2f163bb7aea10c61aac6c92e6ee434cc (patch)
treedc7bb89e120bfb8915d579e1f4b78519b7a6bc58 /archaeological_finds/templates
parent60e6cdb0fe82d3ddad78f3488b8de46744a41e94 (diff)
downloadIshtar-4e02ff3d2f163bb7aea10c61aac6c92e6ee434cc.tar.bz2
Ishtar-4e02ff3d2f163bb7aea10c61aac6c92e6ee434cc.zip
Finds: material type to material types
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 3047b7e87..94ec12903 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -31,7 +31,7 @@
{% field "Name" item.label %}
{% field "Description" item.description %}
{% field "Created by" item.history_creator.ishtaruser.full_label %}
-{% field "Material type" item.material_type %}
+{% field_multiple "Material types" item.material_types %}
{% field "Dating" item.dating %}
{% field "Length (cm)" item.length %}
{% field "Width (cm)" item.width %}
@@ -46,15 +46,7 @@
{% field "Find number" item.find_number %}
{% field "Conservatory state" item.conservatory_state %}
{% field "Type of preservation to consider" item.preservation_to_consider %}
-
-{% if item.object_types.count %}
-<p>
- <label>{% trans "Object types" %}</label>
- <span class='value'>{% for object_type in item.object_types.all %}
- {% if forloop.counter0 %}, {% endif %}{{ object_type }}
- {% endfor %}</span>
-</p>
-{% endif %}
+{% field_multiple "Object types" item.object_types %}
{% if item.upstream_treatment %}<p><label>{%trans "Upstream treatment"%}{% trans ":"%}</label>
<span class='value'>{{item.upstream_treatment}} ({% for up in item.upstream_treatment.upstream_treatment.all %}{% if forloop.counter0 %}, {%endif %}{{up}}{% endfor %})</span></p>{% endif%}