diff options
Diffstat (limited to 'archaeological_files_pdl/forms.py')
-rw-r--r-- | archaeological_files_pdl/forms.py | 3 |
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)]) |