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
commit02d661f962fd8cd98cf21d04ec553dbdd6f72fb0 (patch)
treed6c3103dffee15872112f479e0ca2b2ae610b0d3 /archaeological_files_pdl/forms.py
parent3b557c928dc57942d4e9496b7730504bc44ad1eb (diff)
downloadIshtar-02d661f962fd8cd98cf21d04ec553dbdd6f72fb0.tar.bz2
Ishtar-02d661f962fd8cd98cf21d04ec553dbdd6f72fb0.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)])