summaryrefslogtreecommitdiff
path: root/archaeological_operations/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-09-17 18:19:42 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:18 +0100
commit246144ef6ee26120067576c9bf5c186d6b11cd36 (patch)
tree889c5145204f87ced3f473cd0ca4be4fae8f4844 /archaeological_operations/forms.py
parentb5458d391664118fff9740f40cd0fba988ea78e7 (diff)
downloadIshtar-246144ef6ee26120067576c9bf5c186d6b11cd36.tar.bz2
Ishtar-246144ef6ee26120067576c9bf5c186d6b11cd36.zip
Admin act: ref_sra 15 -> 200
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py
index 6b5bfbd51..4609813b8 100644
--- a/archaeological_operations/forms.py
+++ b/archaeological_operations/forms.py
@@ -1550,13 +1550,11 @@ class AdministrativeActOpeSelect(TableSelect):
))
year = forms.IntegerField(label=_("Year"))
index = forms.IntegerField(label=_("Index"))
- if settings.COUNTRY == 'fr':
- ref_sra = forms.CharField(label="Autre référence",
- max_length=15)
- operation__code_patriarche = forms.CharField(
- max_length=500,
- widget=OAWidget,
- label="Code PATRIARCHE")
+ ref_sra = forms.CharField(label=_("Other reference"), max_length=200)
+ operation__code_patriarche = forms.CharField(
+ max_length=500,
+ widget=OAWidget,
+ label="Code PATRIARCHE")
act_type = forms.ChoiceField(label=_("Act type"), choices=[])
indexed = forms.NullBooleanField(label=_("Indexed?"))
operation__towns = get_town_field()
@@ -1629,9 +1627,7 @@ class AdministrativeActForm(CustomForm, ManageOldType):
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)
+ ref_sra = forms.CharField(label=_("Other reference"), max_length=200, required=False)
TYPES = [
FieldType('act_type', models.ActType,