<% content_for :javascript do %> $(".suggestions .tie_close").livequery("click",function(){ $(this).parents(".tie").replaceWith("<%= escape_javascript(render(current_user.suggestion))%>"); }); <% end %>
<%= image_tag('notifications.png', :class => "suggestion_icon") %>
<%=t('tie.suggestion.one') %>
<%= render current_user.suggestions(2) %>