I am trying to adapt a custom css/js template to web2py plugin. I see that 
in the user login form, submit button is not having class : btn,

<https://lh6.googleusercontent.com/-lr0dTa-A5UM/U6AZIPTRWfI/AAAAAAAAAJM/b-x-QYcESmQ/s1600/Capture.PNG>


So, in user login page, I see Login button in very small format while 
'register' and 'Lost Password' are seen in proper format. I checked with 
firebug that the later two buttons are having class='btn', while Login 
button is missing it.

Is there a way that I could add the class attribute for this button.

I tried the following in views : (user.html)

=form.element('select[value=Login]')['_style']='class:"btn"'
=form

But it gives an error, can some one please help me to add the class 
attribute on the form submit button

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to