I have this link:
<%= link_to "#{x.name}", { :controller => 'pages', :action =>
'berufsschule', :given_user => x.name} , :class => "btn btn-danger" %>
I want it to be a clickable table cell. How can I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can try this via CSS. Create a class something like this:
And then add it in to your
:class => "btn btn-danger"section; e.g.:class => "btn btn-danger cell_link.Not knowing your table or UI needs you may find the margin section un-needed or incorrect.