misc: give access to view attributes in formdata fill page (#25971)

Otherwise Directory::__call__ from quixote is called and the request
gets aborted in a strange way.
This commit is contained in:
Frédéric Péters 2018-08-30 17:26:11 +02:00
parent 473f489dd4
commit 8ce0d0b7de
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ class FormPage(Directory, FormTemplateMixin):
_q_exports = ['', 'tempfile', 'schema', 'tryauth',
'auth', 'qrcode', 'autosave', 'code', 'removedraft', 'live']
do_not_call_in_templates = True
filling_templates = ['wcs/front/formdata_filling.html', 'wcs/formdata_filling.html']
validation_templates = ['wcs/front/formdata_validation.html', 'wcs/formdata_validation.html']