diff options
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 |
commit | c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6 (patch) | |
tree | 889c5145204f87ced3f473cd0ca4be4fae8f4844 /archaeological_operations/forms.py | |
parent | 7fc05906a7ed47cc2149c2b5979977676011bff9 (diff) | |
download | Ishtar-c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6.tar.bz2 Ishtar-c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6.zip |
Admin act: ref_sra 15 -> 200
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 16 |
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, |