summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-11 01:37:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-11 01:37:12 +0200
commit58c2776a1c15e4b17bdcfc9c9eb9017866713f21 (patch)
treeb04d8589708f69d9fa3993bf36340107b50ed00e /archaeological_operations/forms.py
parent796c511682b93c2837b070e3aa70074b69d5236d (diff)
downloadIshtar-58c2776a1c15e4b17bdcfc9c9eb9017866713f21.tar.bz2
Ishtar-58c2776a1c15e4b17bdcfc9c9eb9017866713f21.zip
Preventive file: add some fields - better sheet - Administrativ act: add comment
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index bdc351c35..b092e91f7 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -1634,6 +1634,7 @@ class AdministrativeActOpeSelect(TableSelect):
label=_("Department"), choices=[])
act_object = forms.CharField(label=_("Object"),
max_length=300)
+ comment = forms.CharField(label=_("Comment"), max_length=500)
history_creator = forms.IntegerField(
label=_("Created by"),
widget=widgets.JQueryAutoComplete(
@@ -1695,6 +1696,7 @@ class AdministrativeActForm(CustomForm, ManageOldType):
act_object = forms.CharField(label=_("Object"), max_length=300,
widget=forms.Textarea, required=False)
signature_date = DateField(label=_("Signature date"), required=False)
+ comment = forms.CharField(label=_("Comment"), widget=forms.Textarea, required=False)
if settings.COUNTRY == 'fr':
ref_sra = forms.CharField(label="Autre référence", max_length=15,
required=False)