From 4e02ff3d2f163bb7aea10c61aac6c92e6ee434cc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 19 Sep 2015 11:54:25 +0200 Subject: Finds: material type to material types --- archaeological_finds/templates/ishtar/sheet_find.html | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'archaeological_finds/templates') 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 %} -

- - {% for object_type in item.object_types.all %} - {% if forloop.counter0 %}, {% endif %}{{ object_type }} - {% endfor %} -

-{% endif %} +{% field_multiple "Object types" item.object_types %} {% if item.upstream_treatment %}

{{item.upstream_treatment}} ({% for up in item.upstream_treatment.upstream_treatment.all %}{% if forloop.counter0 %}, {%endif %}{{up}}{% endfor %})

{% endif%} -- cgit v1.2.3