search for: show_item_

Displaying 1 result from an estimated 1 matches for "show_item_".

Did you mean: show_item
2006 Feb 14
2
Inline list editing with RJS: best practices
...iting. I have a very common scenario where a list is rendered: --- index.rhtml --- <ul> <%= render :partial => ''item'', @collection => @items %> </ul> --- _item.rhtml (simplified) --- <li id="item_<%= item.id %>"> <div id="show_item_<%= item.id %>"> <%= h item.name %> <%= link_to ''edit'', . %> </div> <div id="edit_item_<%= item.id %>" style="display: none"></div> </li> I am using RJS templates to populate the ''edit...