I am using the class FormRenderer() and calling it's
renderer = FormRenderer(form)
${renderer.password("password", size=25, class="input")}
When I try to add that class kw option, I get an exception:
SyntaxException: (SyntaxError) invalid syntax (<unknown>, line 1)
(u'renderer.password("password", size=25, class="inpu')
I remember coming across this in the past when using formencode (which this
is based on), but don't remember the fix. How would I apply a class field
to the html form using the syntax above?
Thanks
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/IYBFACPySdIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.