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_files/forms.py | |
parent | 7fc05906a7ed47cc2149c2b5979977676011bff9 (diff) | |
download | Ishtar-c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6.tar.bz2 Ishtar-c8b7b5d3f1208528d2c11b5ec4b543e7ef3e33a6.zip |
Admin act: ref_sra 15 -> 200
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r-- | archaeological_files/forms.py | 6 |
1 files changed, 2 insertions, 4 deletions
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() |