From 55d4cd7cfc4970538e7df967a9c088ffed065376 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 13 Oct 2021 06:16:52 +0200 Subject: Preventive forms: switch to the relevant tab after submit - disable add default button on form change --- .../templates/ishtar/forms/preventive_detail.html | 30 +++++++++++++++++----- archaeological_files/views.py | 14 ++++++++-- 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/archaeological_files/templates/ishtar/forms/preventive_detail.html b/archaeological_files/templates/ishtar/forms/preventive_detail.html index 1d743c615..9ad5c4802 100644 --- a/archaeological_files/templates/ishtar/forms/preventive_detail.html +++ b/archaeological_files/templates/ishtar/forms/preventive_detail.html @@ -16,14 +16,16 @@ -
+ -
+
{% trans "Copy planned costs" %} @@ -34,18 +36,22 @@ {% endfor %}
+ {% endblock %} {#