Sha256: 192393c3cdc7399bb8d2c7414451215f300b177eb6484b5dd11b19924b373bab

Contents?: true

Size: 887 Bytes

Versions: 6

Compression:

Stored size: 887 Bytes

Contents

= table_for 'class-groups-without-semester-index' do
	thead
	  tr
	    = th(sortable 'grade', t(:'class_group.grade'))
	    = th(sortable 'name',  t(:'class_group.name'))
	    = th(sortable 'homeroom', t(:'class_group.homeroom'))
	    = th_actions 3
	tbody
	  = render partial: 'class_group', collection: @class_groups_without_semester, as: 'class_group'

=hr

- @class_groups.each do |semester, semester_class_groups|
  = table_for "semester-#{semester}-class-groups-index" do
    thead
      tr
        th.btn-inverse colspan='4' ="#{t(:'semester.singular')}: #{semester_class_groups.first.semester}"
      tr
        = th t(:'class_group.grade')
        = th t(:'class_group.name')
        = th t(:'class_group.homeroom')
        = th_actions 3
    tbody
      = render partial: 'class_group', collection: extract_grouped(semester_class_groups, :class_group), as: :class_group
  = hr

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/class_groups/_class_groups.html.slim
gaku-0.0.3 core/app/views/gaku/class_groups/_class_groups.html.slim
gaku-0.0.2 core/app/views/gaku/class_groups/_class_groups.html.slim
gaku_core-0.0.2 app/views/gaku/class_groups/_class_groups.html.slim
gaku-0.0.1 core/app/views/gaku/class_groups/_class_groups.html.slim
gaku_core-0.0.1 app/views/gaku/class_groups/_class_groups.html.slim