Does anybody know how Rails paints that cool blue box around the <%=
form.submit "Save" %>
In most of my forms I've got a "Back" link ( ex: <%= link_to 'Back',
return_path %>.
I'd like this link to share the same 'look and feel'.
When I look at the browser source the code that rails generates it
shows this;
<p>
<input id="record_submit" name="commit" type="submit"
value="Save" />
</p>
Has anybody built .css around any of these properties to make this
link look like the same graphic button created by <%= form.submit
"Save" %>?
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---