<%= javascript_alert_messages %> $('#tb_temp_container').html('<%=escape_javascript(render(:partial => 'error'))%>');