Hey,

how can i get an whole <td> cell to be a link.

my actual code is:

<% @alluser.each do |x| %>

<%= link_to "#{x.name}", { :controller => 'pages', :action =>
'berufsschule', :given_user => x.name} , :class => "btn btn-danger" %>

<% end %>

i want a whole table cell as link.. not only the text

thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
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-US.

Reply via email to