I'm writing a rails app, and want to quickly and easily style my
submit buttons so to go with the rest of my site, but i'm finding
that:
<%= f.submit 'testing', :class => "ui-state-default" %>
provides me with the wrong code, rather than creating a button, it
creates
<input id="user_submit" class="ui-state-
default" type="submit" value="testing" name="commit"/>
While this still looks nice, it doesn't do exactly what I would like.
(Cursor changing to pointer on hover, color change on hover, etc.) Are
there any tutorials for styling forms in rails with jQuery UI (I would
love this) ? I can achieve the correct functionality by completely
hacking up my rails code, but at too high a cost of readability. Am I
missing something simple, or just doing this plain wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---