Sha256: e79017f85a4cee64a4704f277764b0506ee87e9a9ee605317d00ccb73c352a41

Contents?: true

Size: 1.75 KB

Versions: 6

Compression:

Stored size: 1.75 KB

Contents

= content_for :show_header do
  = count_div '' do
    = t(:'syllabus.show')

= well_div do
  = table do
    thead
      tr
        = th t(:'syllabus.code')
        = th t(:'syllabus.name')
        = th t(:'syllabus.credits')
        = th t(:'syllabus.description')
        = th t(:'exam.plural')
    tbody
      tr class="syllabus-#{@syllabus.id}"
        = render 'gaku/shared/fields/syllabus_fields', syllabus: @syllabus

= well_div do
  .row-fluid
    #syllabus-exams
      .row-fluid
        .pull-left
          = count_div 'exams-count' do
            = print_count @syllabus.exams_count, t_exam_list
        .pull-right
          = ajax_link_to_new t(:'exam.new'), [:new, @syllabus, :exam], id: 'new-syllabus-exam-link'
          = ajax_link_to_new t(:'exam.add_existing'), '', id: 'new-existing-exam-link'

      .row-fluid
        .span12
          #new-existing-exam-errors
          #new-existing-exam.hide style='padding-top:10px'
            = render 'gaku/syllabuses/exams/select_form'

          #new-syllabus-exam.hide style='padding-top:10px'
            /= render 'gaku/syllabuses/exams/form'
      .row-fluid
        .span12
          hr
      = render 'gaku/syllabuses/exams/exams'
  .row-fluid
    br/
  /.row-fluid
    #syllabus-assigmnents
      = render 'gaku/syllabuses/assignments/assignments'
    #new-syllabus-assignment
      = link_to t(:'assignment.new'), create_syllabus_assignment_path(@syllabus), { id: 'new-course-assignment-link', class: 'btn'}
    #new-syllabus-assignment-form*{ 'style' => 'display:none;'}
      = render 'gaku/syllabuses/assignments/form'

= well_div do
  #syllabus-notes
    = render 'gaku/notes/notes'

= well_div do
  .span6
    = link_to_edit_with_text [:edit, @syllabus], remote: true
  .span6
    = link_to_back syllabuses_path

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/syllabuses/edit.html.slim
gaku-0.0.3 core/app/views/gaku/syllabuses/edit.html.slim
gaku-0.0.2 core/app/views/gaku/syllabuses/edit.html.slim
gaku_core-0.0.2 app/views/gaku/syllabuses/edit.html.slim
gaku-0.0.1 core/app/views/gaku/syllabuses/show.html.slim
gaku_core-0.0.1 app/views/gaku/syllabuses/show.html.slim