Sha256: 7f5e20538b4e1f034d9564a29b76dc97d34947ddf8930298ce4a378fb0ed6b08

Contents?: true

Size: 820 Bytes

Versions: 6

Compression:

Stored size: 820 Bytes

Contents

= content_for :index_header do
  .pull-left
    = count_div 'admin-schools-count' do
      = print_count @count, t_school_list
  .pull-right
    = ajax_link_to_new t(:'school.add'), [:new, :admin, :school], id: 'new-admin-school-link'

= content_for :new_form do
  #new-admin-school.hide

= render 'show_table', school: @master_school if @master_school

=hr

= table_for 'admin-schools-index' do
  thead
    tr
      = th t(:'school.code')
      = th t(:'school.name')
      = th t(:'school.campuses')
      = th t(:'school.slogan')
      = th t(:'school.description')
      = th t(:'school.founded')
      = th t(:'school.principal')
      = th t(:'school.vice_principal')
      = th t(:'school.grades')
      = th_actions 3
  tbody
    = render partial: 'gaku/admin/schools/school', collection: @schools, as: 'school'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/admin/schools/index.html.slim
gaku-0.0.3 core/app/views/gaku/admin/schools/index.html.slim
gaku-0.0.2 core/app/views/gaku/admin/schools/index.html.slim
gaku_core-0.0.2 app/views/gaku/admin/schools/index.html.slim
gaku-0.0.1 core/app/views/gaku/admin/schools/index.html.slim
gaku_core-0.0.1 app/views/gaku/admin/schools/index.html.slim