I have some buttons which are basically overridden <li>
s with CSS. I want to link the entire <li>
link to a Rails action.
So I don't 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 %>