From c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 17 Sep 2022 18:19:42 +0200 Subject: Admin act: ref_sra 15 -> 200 --- archaeological_operations/forms.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'archaeological_operations/forms.py') 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, -- cgit v1.2.3