summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-05 01:02:06 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-05 01:02:06 +0100
commite7b2d3beff46937611a0a078bc6bf9905a2940ea (patch)
treedc48fb551452f13d10527c53e84200f9b317eca1 /archaeological_finds/forms.py
parent63b6c08fde1295cb12ae89b1761916bbcb673125 (diff)
downloadIshtar-e7b2d3beff46937611a0a078bc6bf9905a2940ea.tar.bz2
Ishtar-e7b2d3beff46937611a0a078bc6bf9905a2940ea.zip
Treatments: manage deletion
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 98017f7e2..a37d6b5f6 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -784,6 +784,14 @@ class ModifyTreatmentForm(BaseTreatmentForm):
return cleaned_data
+class TreatmentDeletionForm(FinalForm):
+ confirm_msg = _(
+ u"Are you sure you want to delete this treatment? All modification "
+ u"made to the associated finds since this treatment record will be "
+ u"lost!")
+ confirm_end_msg = _(u"Would you like to delete this treatment?")
+
+
"""
####################################
# Source management for treatments #