diff options
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 |
commit | bb4e56a63dc03b0b4488b1a2e06432f3aba0b167 (patch) | |
tree | 2f0fe97b934462dd007106475e0d489bedd38078 /archaeological_warehouse/forms.py | |
parent | 25b66adeba90e809e6b8f75276a216c3e3d1e27d (diff) | |
download | Ishtar-bb4e56a63dc03b0b4488b1a2e06432f3aba0b167.tar.bz2 Ishtar-bb4e56a63dc03b0b4488b1a2e06432f3aba0b167.zip |
Deletion and searches for warehouses (refs #3366)
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r-- | archaeological_warehouse/forms.py | 5 |
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, |