summaryrefslogtreecommitdiff
path: root/archaeological_files/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-10-12 16:07:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:48 +0200
commit129719164e92ccdb93d2ac9ef9c4a61d8b645526 (patch)
tree835662251f375de42056af5fe46f3b958c2120b6 /archaeological_files/templates
parent90f70cab6935ea31d45151ffde0862cf59d01c14 (diff)
downloadIshtar-129719164e92ccdb93d2ac9ef9c4a61d8b645526.tar.bz2
Ishtar-129719164e92ccdb93d2ac9ef9c4a61d8b645526.zip
Preventive file: back button - quick action button
Diffstat (limited to 'archaeological_files/templates')
-rw-r--r--archaeological_files/templates/ishtar/forms/preventive_detail.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_files/templates/ishtar/forms/preventive_detail.html b/archaeological_files/templates/ishtar/forms/preventive_detail.html
index 3c58053ba..1d743c615 100644
--- a/archaeological_files/templates/ishtar/forms/preventive_detail.html
+++ b/archaeological_files/templates/ishtar/forms/preventive_detail.html
@@ -78,3 +78,10 @@
});
{% endblock %}
{# </script> #}
+{% block extra_validation_button %}
+<div class="col-sm">
+ <a href="{% url 'display-item' 'file' file.pk %}" class="btn btn-secondary" role="button" aria-pressed="true">
+ {% trans "Back to the file" %}
+ </a>
+</div>
+{% endblock %}