Add app to render_args of render_template helper

This commit is contained in:
graham-dds 2019-09-27 11:56:26 -04:00
parent 98b950dfa3
commit 8df0bfedde

View File

@ -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()