$('#resources-tbody').replaceWith('<%= escape_javascript(render("resources")) %>');
$('#paginator .pagination').html('<%= escape_javascript(paginate(@school_calendar_event_batches, :remote => true).to_s) %>');
$('#page_entries_info').html('<%= escape_javascript(page_entries_info(@school_calendar_event_batches).to_s) %>');
