Sha256: de62c5e97dba580bdb9bb04151c53fef4b8aecc104c86f9edc7c88f8cf18616d
Contents?: true
Size: 791 Bytes
Versions: 6
Compression:
Stored size: 791 Bytes
Contents
= table_for 'courses-without-semester-index' do thead tr =th t(:'syllabus.code') =th t(:'schedule') =th t(:'teacher.singular') =th t(:'num_enrolled') =th_actions 3 tbody = render partial: 'course', collection: @courses_without_semester, as: :course =hr - @courses.each do |semester, semester_courses| =table_for "semester-#{semester}-courses-index" do thead tr th.btn-inverse colspan='5' ="#{t(:'semester.singular')}: #{semester_courses.first.semester}" tr =th t(:'syllabus.code') =th t(:'schedule') =th t(:'teacher.singular') =th t(:'num_enrolled') =th_actions 3 tbody = render partial: 'course', collection: extract_grouped(semester_courses, :course), as: :course =hr
Version data entries
6 entries across 6 versions & 2 rubygems