From 246144ef6ee26120067576c9bf5c186d6b11cd36 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_files/forms.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'archaeological_files/forms.py') diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index 450eadd74..eb366b927 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -889,8 +889,7 @@ class AdministrativeActFileModifySelect(TableSelect): ) year = forms.IntegerField(label=_("Year")) index = forms.IntegerField(label=_("Index")) - if settings.COUNTRY == "fr": - ref_sra = forms.CharField(label="Référence SRA", max_length=15) + ref_sra = forms.CharField(label=_("Other reference"), max_length=200) act_type = forms.ChoiceField(label=_("Act type"), choices=[]) act_object = forms.CharField(label=_("Object (full text search)"), max_length=300) operation__towns = get_town_field() @@ -926,8 +925,7 @@ class AdministrativeActFileSelect(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) + ref_sra = forms.CharField(label=_("Other reference"), max_length=200) act_type = forms.ChoiceField(label=_("Act type"), choices=[]) indexed = forms.NullBooleanField(label=_("Indexed?")) associated_file__towns = get_town_field() -- cgit v1.2.3