summaryrefslogtreecommitdiff
path: root/archaeological_files
diff options
context:
space:
mode:
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
commit246144ef6ee26120067576c9bf5c186d6b11cd36 (patch)
tree889c5145204f87ced3f473cd0ca4be4fae8f4844 /archaeological_files
parentb5458d391664118fff9740f40cd0fba988ea78e7 (diff)
downloadIshtar-246144ef6ee26120067576c9bf5c186d6b11cd36.tar.bz2
Ishtar-246144ef6ee26120067576c9bf5c186d6b11cd36.zip
Admin act: ref_sra 15 -> 200
Diffstat (limited to 'archaeological_files')
-rw-r--r--archaeological_files/forms.py6
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()