Sha256: cade7535e2738fb821914b0f7478fdb54c9baa5e5cea70ee406d1493c8b21728

Contents?: true

Size: 1002 Bytes

Versions: 16

Compression:

Stored size: 1002 Bytes

Contents

.row
  .col-md-2
    .panel-group#accordion

      .panel
        .picture-upload
          =render 'gaku/shared/ajax_picture', resource: @teacher
        .panel-heading
          = teacher.full_name

      .panel.panel-default
        .panel-heading
          h4.panel-title
            = link_to t(:'edit'), [:edit, teacher], remote: true

      .panel.panel-default
        .panel-heading
          h4.panel-title
            = t(:'personal')
        .panel-body
          ul.list-unstyled
            li#addresses-menu = link_to badge_count(teacher.addresses_count, t(:'address.plural'), 'addresses-count'), [teacher, :addresses], remote: true
            li#contacts-menu = link_to badge_count(teacher.contacts_count, t(:'contact.plural'),'contacts-count'), [teacher, :contacts], remote: true
            li#notes-menu = link_to badge_count(teacher.notes_count, t(:'note.plural'), 'notes-count'), [teacher, :notes], remote: true

  .col-md-10#ajax-load
    = render 'edit_form', teacher: @teacher

Version data entries

16 entries across 16 versions & 2 rubygems

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