summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_finds/templates/ishtar/sheet_treatment.html4
-rw-r--r--archaeological_finds/wizards.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html
index 0a23e551a..ac11d9b70 100644
--- a/archaeological_finds/templates/ishtar/sheet_treatment.html
+++ b/archaeological_finds/templates/ishtar/sheet_treatment.html
@@ -61,8 +61,8 @@
<div class="card-text">
<p class="window-refs">{{ item.label|default:"" }}</p>
- {% if item.other_reference %}
- <p class="window-refs">{{ item.other_reference }}</p>{% endif %}
+ {% if item.reference %}
+ <p class="window-refs">{{ item.reference }}</p>{% endif %}
<p class="window-refs">{{ item.year|unlocalize }} - {{ item.index|unlocalize }}</p>
{% if item.external_id %}
<p class="window-refs">{{ item.external_id }}</p>{% endif %}
diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py
index dd2e65ff8..87b814ba4 100644
--- a/archaeological_finds/wizards.py
+++ b/archaeological_finds/wizards.py
@@ -477,7 +477,7 @@ class TreatmentDeletionWizard(DeletionWizard):
wizard_confirm = "ishtar/wizard/wizard_treatement_deletion.html"
fields = [
"label",
- "other_reference",
+ "reference",
"year",
"index",
"treatment_types",