summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-12-04 23:55:07 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-12-04 23:55:07 +0100
commitf2928e399ed554fb4f3f2c501008e1b8b3c8a967 (patch)
treeadba76d50670728470ed11bb60e7650271f4e466 /archaeological_operations/forms.py
parent5e1cafecaabecd5f6dd8d77f5e0ac70e785fdcc3 (diff)
downloadIshtar-f2928e399ed554fb4f3f2c501008e1b8b3c8a967.tar.bz2
Ishtar-f2928e399ed554fb4f3f2c501008e1b8b3c8a967.zip
Administrativ acts: generate document from the last step of creation/modification (refs #1523)
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 50a5e7f5f..955b2f825 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -613,3 +613,7 @@ class FinalAdministrativeActDeleteForm(FinalForm):
confirm_msg = " "
confirm_end_msg = _(u"Would you like to delete this administrative act?")
+class GenerateDocForm(forms.Form):
+ form_label = _("Doc generation")
+ doc_generation = forms.BooleanField(required=False,
+ label=_(u"Generate the associated doc?"))