* 08/05/2009, Jan Koprowski wrote :
> 
> Hi !
> 
>   I try add "class" attribute to secure_form like this: ${h.secure_form
> ('/account/change_password', method='post', class='a')}
>  but i get only foloowing backtrace

class is a reserved word in python:

${h.secure_form('/account/change_password', method='post', class_='a')}

bye

-- 
Never try to teach a pig to sing.
It wastes your time and annoys the pig.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to