= content_for :title do = t(:'class_group.plural') = content_for :new_form do #new-class-group.d-none #class-groups-semester-advanced-search.d-none = content_for :index_header do .pull-left = count_div('semesters-count') { print_count @count, t(:'semester.list') } .pull-right = ajax_link_to_search t(:'search'), semester_advanced_search_class_groups_path, id: "student-semester-advanced-search-link" = ajax_link_to_new t(:'class_group.new'), [:new, :class_group], id: "new-class-group-link" ul.nav.nav-tabs li = link_to(t(:'class_group.active'), class_groups_path, id: 'class-groups-active-tab-link') li.active = link_to(t(:'class_group.with_semester'), with_semester_class_groups_path, id: 'class-groups-with-semester-tab-link') li = link_to(t(:'class_group.without_semester'), without_semester_class_groups_path, id: 'class-groups-without-semester-tab-link') #class-groups-index = render 'class_groups_with_semester', semesters: @semesters