Sha256: 994950ba4058323abdafb8e7b00a4437c5ae62c17c86c1954aecc7f9d07dad97

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 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#edit-panel.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

6 entries across 6 versions & 1 rubygems

Version Path
gaku_frontend-0.3.0 app/views/gaku/exams/edit.html.slim
gaku_frontend-0.3.0.pre.4 app/views/gaku/exams/edit.html.slim
gaku_frontend-0.3.0.pre.3 app/views/gaku/exams/edit.html.slim
gaku_frontend-0.3.0.pre.2 app/views/gaku/exams/edit.html.slim
gaku_frontend-0.3.0.pre.1 app/views/gaku/exams/edit.html.slim
gaku_frontend-0.3.0.pre.0 app/views/gaku/exams/edit.html.slim