diff options
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, |