I had the need to display a form, but not it note.  The note is generated 
by the form validator, and my text had HTML tag in them, and by default, it 
escape them.

So with this patch, I can disable the display of the note field from 
render, and I can access from the template the form.note and display it 
like I want.

Commit containing the patch : 
https://github.com/mochouinard/webpy/commit/7f9fb8fb617638909d8c1a3dafe9c5086a503883

I'm not sure if this would be the correct way to implement it, OR it would 
be to create a new function like render_items(), move the code that display 
the form items there and make the render() call that function...  Both 
would work fine.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to