Commit 4128fcb6 authored by Boris Kocherov's avatar Boris Kocherov

rendering subform (FormBox) in view mode

parent 4583881c
......@@ -138,6 +138,9 @@ class FormBoxWidget(Widget.Widget):
del REQUEST.other['cell']
return result
def render_view(self, field, value, REQUEST=None, render_prefix=None):
return self.render(field, "", value, REQUEST=REQUEST, render_prefix=render_prefix)
class FormBoxEditor:
"""
A class holding all values required to update the object
......
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