Sha256: 32171002bf20fc1f1b78012f5c308c57ef69f6f9cab938959c021ceb7e9532b8

Contents?: true

Size: 1.34 KB

Versions: 16

Compression:

Stored size: 1.34 KB

Contents

.row
  .col-md-2
    .panel-group#accordion
      .panel
        .picture-upload
          = render 'gaku/admin/shared/ajax_picture', resource: @school


      .panel.panel-default
        .panel-heading
          h4.panel-title
            = @school.name
        .panel-body
          ul.list-unstyled
            li = link_to t(:'edit'), admin_school_details_edit_path


      .panel.panel-default
        .panel-heading
          h4#campuses-menu.panel-title
            = link_to badge_count(@school.campuses.count, t(:'campus.plural'), 'campuses-count'), [:admin, @school, :campuses], remote: true
        .panel-body
          ul.list-unstyled
            - @school.campuses.each do |campus|
              li = link_to campus.name, [:edit, :admin, @school, campus]

      .panel.panel-default
        .panel-heading
          h4#programs-menu.panel-title
            = link_to badge_count(@school.programs.count, t(:'program.plural'), 'programs-count'), [:admin, @school, :programs], remote: true
        .panel-body
          ul.list-unstyled
            - @school.programs.each do |program|
              li = link_to program.name, [:edit, :admin, @school, program], remote: true

      .panel.panel-default
        .panel-heading
           h4.panel-title
             = link_to t(:'admin.back'), [:admin, :root]

  .col-md-10#ajax-load
    = render 'edit_master_form'

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_admin-0.3.0 app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.3.0.pre.4 app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.3.0.pre.3 app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.3.0.pre.2 app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.3.0.pre.1 app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.3.0.pre.0 app/views/gaku/admin/schools/edit_master.html.slim
gaku-0.2.4 admin/app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.2.4 app/views/gaku/admin/schools/edit_master.html.slim
gaku-0.2.3 admin/app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.2.3 app/views/gaku/admin/schools/edit_master.html.slim
gaku-0.2.2 admin/app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.2.2 app/views/gaku/admin/schools/edit_master.html.slim
gaku-0.2.1 admin/app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.2.1 app/views/gaku/admin/schools/edit_master.html.slim
gaku-0.2.0 admin/app/views/gaku/admin/schools/edit_master.html.slim
gaku_admin-0.2.0 app/views/gaku/admin/schools/edit_master.html.slim