summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-27 16:26:41 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-27 16:26:41 +0100
commit564dd1bec387788f5c837de8d9366c9510faa80f (patch)
tree2f0fe97b934462dd007106475e0d489bedd38078 /archaeological_warehouse/forms.py
parentdc9ed14918c9337f9caae65121e9b4d80c8f4e6d (diff)
downloadIshtar-564dd1bec387788f5c837de8d9366c9510faa80f.tar.bz2
Ishtar-564dd1bec387788f5c837de8d9366c9510faa80f.zip
Deletion and searches for warehouses (refs #3366)
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index d571364a4..d61658b0e 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -141,6 +141,11 @@ class WarehouseForm(ManageOldType, forms.Form):
return new_item
+class WarehouseDeletionForm(FinalForm):
+ confirm_msg = _(u"Would you like to delete this warehouse?")
+ confirm_end_msg = _(u"Would you like to delete this warehouse?")
+
+
class ContainerForm(ManageOldType, forms.Form):
form_label = _(u"Container")
associated_models = {'container_type': models.ContainerType,