diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-05-12 21:21:04 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-05-12 21:23:12 +0200 |
commit | 18a6ad99164350af62d65efd6a1fd1aa4c419739 (patch) | |
tree | e69bfd5b3bc0843ec93223dc12d4a376d6b489c0 /ishtar_common/forms.py | |
parent | 6d05b2d357c15b9d291922ac67fecebe3208b55f (diff) | |
download | Ishtar-18a6ad99164350af62d65efd6a1fd1aa4c419739.tar.bz2 Ishtar-18a6ad99164350af62d65efd6a1fd1aa4c419739.zip |
Person and organization deletion (refs #1675)
* add associated actions, wizards, forms
* prevent deletion of associted items (operations, files, etc.)
* give list of associated items before deletion and give access to these
items
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r-- | ishtar_common/forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index 5faa232fb..9c81fa04b 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -75,6 +75,10 @@ class FinalForm(forms.Form): final = True form_label = _(u"Confirm") +class FinalDeleteForm(FinalForm): + confirm_msg = " " + confirm_end_msg = _(u"Are you sure you want to delete?") + class FormSet(BaseFormSet): def check_duplicate(self, key_names, error_msg=""): """Check for duplicate items in the formset""" |