Sha256: 9922070fee28d80985d1a6bd6a748a82762d6be93d502237c6c4cacaf6098a0d
Contents?: true
Size: 798 Bytes
Versions: 16
Compression:
Stored size: 798 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 1 tbody = render partial: 'course', collection: @courses_without_semester, as: :course - @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 1 tbody = render partial: 'course', collection: extract_grouped(semester_courses, :semesterable), as: :course
Version data entries
16 entries across 16 versions & 2 rubygems