summaryrefslogtreecommitdiff
path: root/archaeological_files/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2016-01-10 15:35:51 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2016-01-10 15:35:51 +0100
commit9de20f503852855b5dda8723693c5d156232d16d (patch)
tree8d8e7c09faf179b2fed07878d1cf450a245a78d0 /archaeological_files/forms.py
parent5e0b683ccc3851a4092e4d459a43fb557299d47e (diff)
parent23622f70dc4b6b544dcd99994e46ea20ff309777 (diff)
downloadIshtar-9de20f503852855b5dda8723693c5d156232d16d.tar.bz2
Ishtar-9de20f503852855b5dda8723693c5d156232d16d.zip
Merge branch 'master' into master-land-planner-2999
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r--archaeological_files/forms.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py
index a8dd99135..8c360e364 100644
--- a/archaeological_files/forms.py
+++ b/archaeological_files/forms.py
@@ -379,6 +379,8 @@ class AdministrativeActFileModifySelect(TableSelect):
ref_sra = forms.CharField(label=u"Référence SRA",
max_length=15)
act_type = forms.ChoiceField(label=_("Act type"), choices=[])
+ act_object = forms.CharField(label=_(u"Object (full text search)"),
+ max_length=300)
operation__towns = get_town_field()
if settings.ISHTAR_DPTS:
operation__towns__numero_insee__startswith = forms.ChoiceField(
@@ -442,6 +444,8 @@ class AdministrativeActFileSelect(TableSelect):
if settings.ISHTAR_DPTS:
operation__towns__numero_insee__startswith = forms.ChoiceField(
label=_(u"Department"), choices=[])
+ act_object = forms.CharField(label=_(u"Object (full text search)"),
+ max_length=300)
history_creator = forms.IntegerField(
label=_(u"Created by"),
widget=widgets.JQueryAutoComplete(