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