Commit 42f74231 authored by Serge S. Koval's avatar Serge S. Koval

Pass model to the edit template

parent 70865e51
......@@ -980,6 +980,7 @@ class BaseModelView(BaseView, ActionsMixin):
return redirect(return_url)
return self.render(self.edit_template,
model=model,
form=form,
form_widget_args=self.form_widget_args,
return_url=return_url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment