Skip to content
Snippets Groups Projects
Commit 6dddf8899dc0 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[forms] 3.6 upgrade: use form.render() instead of form.form_render()

parent e9db0e76470f
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,6 @@
Button(stdmsgs.BUTTON_CANCEL,
onclick=self.jsfunc % (jseid, ''))]
form = self._cw.vreg['forms'].select('edition', self._cw,
entity=newcomment,
form_buttons=buttons)
entity=newcomment,
form_buttons=buttons)
self.w(u'<div id="comment%sSlot">%s</div>' % (
......@@ -207,7 +207,7 @@
self.w(u'<div id="comment%sSlot">%s</div>' % (
commented.eid, form.form_render(main_form_title=u'',
display_label=False,
display_relations_form=False)))
commented.eid, form.render(main_form_title=u'',
display_label=False,
display_relations_form=False)))
class InlineCommentForm(InlineEditCommentForm):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment