<% new_title = @index_title || e9_t(:index_title) %> $('#index_header').html("<%= escape_javascript(render('header')) %>"); $('#records_table').html("<%= escape_javascript(render('table', :resources => collection)) %>"); document.title = "<%= escape_javascript(meta_title(new_title)) %>"; $("h1.title, ul.breadcrumbs li.last").html("<%= escape_javascript(new_title) %>");