Add app to render_args of render_template helper
This commit is contained in:
parent
98b950dfa3
commit
8df0bfedde
@ -29,6 +29,7 @@ def render_new_application_form(
|
||||
if application_id:
|
||||
application = Applications.get(application_id)
|
||||
render_args["form"] = form or form_class(obj=application)
|
||||
render_args["application"] = application
|
||||
else:
|
||||
render_args["form"] = form or form_class()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user