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:
<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

No.
http://lists.rubyonrails.org/mailman/listinfo/rails

ยทยทยท

On Tue, Oct 31, 2006 at 11:55:12PM +0900, Andreas Schneider wrote:

Hi all,

*is this the correct usergroup for ruby on rails?* mhhh...