summaryrefslogtreecommitdiff
path: root/archaeological_files_pdl/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-12-29 16:27:59 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-05-06 15:38:32 +0200
commit9807ea236f07a2caf806e6c02ce0fa78e006ea92 (patch)
treed6c3103dffee15872112f479e0ca2b2ae610b0d3 /archaeological_files_pdl/forms.py
parent086cb36acde4343f5e4dc8dc18a70cdbd8512c33 (diff)
downloadIshtar-9807ea236f07a2caf806e6c02ce0fa78e006ea92.tar.bz2
Ishtar-9807ea236f07a2caf806e6c02ce0fa78e006ea92.zip
Specific label for relative of town planning services
Diffstat (limited to 'archaeological_files_pdl/forms.py')
-rw-r--r--archaeological_files_pdl/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_files_pdl/forms.py b/archaeological_files_pdl/forms.py
index fc4efff73..2703e52fd 100644
--- a/archaeological_files_pdl/forms.py
+++ b/archaeological_files_pdl/forms.py
@@ -164,9 +164,10 @@ class FileFormPlanningService(forms.Form):
widget=widgets.JQueryPersonOrganization(
reverse_lazy('autocomplete-person',
args=[RESPONSIBLE_PLANNING_SERVICE.pk]),
- reverse_lazy('person_create'),
+ reverse_lazy('townplanning_create'),
model=Person,
limit={'person_types':[RESPONSIBLE_PLANNING_SERVICE.pk]},
+ js_template='ishtar/blocks/JQueryCorporationPerson.js',
new=True),
validators=[valid_id(Person)])