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

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

Hi all,

is this the correct usergroup for ruby on rails? mhhh…

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