I have a few buttons that are mostly overridden by <li>
using CSS. I want to link the entire <li>
link to a Rails action.
Therefore, I do not want to do this:
<li><%= link_to choice, { :action => "update", :id => @id, :response => index }, :remote => true %></li>
I want to do something like this:
<%= link_to <li>choice</li>, { :action => "update", :id => @id, :response => index }, :remote => true %>
source share