Sha256: 3608ae20913ec96e39bfbe87df02c84c101fdfdc6bcd634583d98a06927bcbb0

Contents?: true

Size: 1.14 KB

Versions: 10

Compression:

Stored size: 1.14 KB

Contents

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

      .panel.panel-default
        .panel-heading
          h4#exam-edit-menu.panel-title
            = link_to t(:'edit'), [:edit, @exam], remote: true
        .panel-body
          ul.list-unstyled
            li#exams-notes-menu
              = link_to badge_count(@exam.notes_count, t(:'note.plural'),'notes-count'), [@exam, :notes], remote: true
            li#exams-grading-methods-menu
              = link_to badge_count(@exam.grading_method_connectors.count, t(:'grading_method.plural'), 'grading-methods-count'), [@exam, :grading_method_connectors], remote: true

      .panel.panel-default
        .panel-heading
          h4#exams-exam-portions-menu.panel-title
            = link_to badge_count(@exam.exam_portions_count, t(:'exam_portion.plural'), 'exam-portions-count'), [@exam, :exam_portions], remote: true
        .panel-body
          ul#exams-exam-portions-menu-list.list-unstyled
            - @exam.exam_portions.each do |portion|
              li id="exam-portion-#{portion.id}" = link_to portion, [:edit, @exam, portion], remote: true

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

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gaku-0.2.4 frontend/app/views/gaku/exams/edit.html.slim
gaku_frontend-0.2.4 app/views/gaku/exams/edit.html.slim
gaku-0.2.3 frontend/app/views/gaku/exams/edit.html.slim
gaku_frontend-0.2.3 app/views/gaku/exams/edit.html.slim
gaku-0.2.2 frontend/app/views/gaku/exams/edit.html.slim
gaku_frontend-0.2.2 app/views/gaku/exams/edit.html.slim
gaku-0.2.1 frontend/app/views/gaku/exams/edit.html.slim
gaku_frontend-0.2.1 app/views/gaku/exams/edit.html.slim
gaku-0.2.0 frontend/app/views/gaku/exams/edit.html.slim
gaku_frontend-0.2.0 app/views/gaku/exams/edit.html.slim