summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-13 13:23:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-13 13:23:35 +0200
commitabdd99265410d6a163c8b0f74dcba0f6f0664f70 (patch)
tree71d968e3d0b0571b4c1d1bef036774f30e98dbcf /archaeological_operations/forms.py
parentda7803b9cc920cad30d0c19bb503f2360bcc8dc3 (diff)
downloadIshtar-abdd99265410d6a163c8b0f74dcba0f6f0664f70.tar.bz2
Ishtar-abdd99265410d6a163c8b0f74dcba0f6f0664f70.zip
New type of operation: court-ordered seizure with associated fields (refs #4048)
* models * migrations * wizard panel * forms * sheet
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 9906709d9..bb2393ab9 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -997,6 +997,22 @@ OperationFormModifGeneral.associated_models = \
OperationFormModifGeneral.associated_models['associated_file'] = File
+class CourtOrderedSeizureForm(CustomForm, IshtarForm):
+ form_label = _(u"Court-ordered seizure")
+ form_admin_name = _(u"Operation - 015 - Court-ordered seizure")
+ form_slug = "operation-015-court-ordered-seizure"
+
+ seizure_name = forms.CharField(
+ label=_(u"Seizure name"), required=False,
+ )
+ official_report_number = forms.CharField(
+ label=_(u"Official report number"), required=False,
+ )
+ name_of_the_protagonist = forms.CharField(
+ label=_(u"Name of the protagonist"), required=False,
+ )
+
+
class CollaboratorForm(CustomForm, IshtarForm):
form_label = _(u"Collaborators")
form_admin_name = _(u"Operation - 020 - Collaborators")