From: Andreas Schneider Date: 2006-10-31T23:55:12+09:00 Subject: button_to style class Hi all, *is this the correct usergroup for ruby on rails?* mhhh... I am new to ruby/rails and want to use a normal button - not a submit button - as a link. But I also want to use a css style on that button. My idea was this: <%= button_to "Add New Client", :action => 'new', :class => 'button' %> where "button" is my css style this will result into:
I wonder if there is any better way to do it. any ideas? Thanks for any help or hint -Andreas