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

Version Path
gaku_frontend-0.3.0 app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.3.0.pre.4 app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.3.0.pre.3 app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.3.0.pre.2 app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.3.0.pre.1 app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.3.0.pre.0 app/views/gaku/courses/_courses.html.slim
gaku-0.2.4 frontend/app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.2.4 app/views/gaku/courses/_courses.html.slim
gaku-0.2.3 frontend/app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.2.3 app/views/gaku/courses/_courses.html.slim
gaku-0.2.2 frontend/app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.2.2 app/views/gaku/courses/_courses.html.slim
gaku-0.2.1 frontend/app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.2.1 app/views/gaku/courses/_courses.html.slim
gaku-0.2.0 frontend/app/views/gaku/courses/_courses.html.slim
gaku_frontend-0.2.0 app/views/gaku/courses/_courses.html.slim