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
commit39ae57f6f233cc097d303b397b78b9bfdd9b894b (patch)
treeadba76d50670728470ed11bb60e7650271f4e466 /archaeological_operations/forms.py
parentdfc53677e6fec7269e5383c410ac1cc7f259b7ea (diff)
downloadIshtar-39ae57f6f233cc097d303b397b78b9bfdd9b894b.tar.bz2
Ishtar-39ae57f6f233cc097d303b397b78b9bfdd9b894b.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?"))