diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_find.html')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 12 |
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%} |