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:
<form method="post" action="/client/new?class=button"
class="button-to"><div><input type="submit" value="Add New Client"
/></div></form>
I wonder if there is any better way to do it.
any ideas?
Thanks for any help or hint
-Andreas