None
@view_config(renderer="templates/form.pt", name="delayed_richtext")
@demonstrate("Rich Text Widget (delayed)")
def delayed_richtext(self):
class Schema(colander.Schema):
text = colander.SchemaNode(
colander.String(),
widget=deform.widget.RichTextWidget(delayed_load=True),
description="Enter some text",
)
schema = Schema()
form = deform.Form(schema, buttons=("submit",))
return self.render_form(form)