$('#ingredient_row_<%= @ingredient.id %>').replaceWith("<%= escape_javascript(render(@ingredient))%>"); close_pane_hover();