Sha256: 1acf7565464b42fac8d7f8e5f716656f77887d3412a9ccbc37fca77e1e83943b

Contents?: true

Size: 821 Bytes

Versions: 5

Compression:

Stored size: 821 Bytes

Contents

= tr_for student do
  td.vm-tc
  td.vm-tc
  td.vm = "#{student.name} #{student.surname}"
  - @exam.exam_portions.each do |portion|
    - portion.exam_portion_scores.each do |score|
      - if score.student_id == student.id && score.gradable == @gradable_scope
        td
          = form_for [@gradable_scope, @exam, score], remote: true do |f|
            = render "gaku/shared/grading/#{portion.score_type}", f: f, portion: portion
            /= "gaku/shared/grading/#{portion.score_type}"
  - @grading_methods.each do |grading_method|
      td.vm id="#{gradable_resource(@gradable_scope)}-#{@gradable_scope.id}-exam-#{@exam.id}-student-#{student.id}-grading-method-#{grading_method.id}-score"
        = @grading_calculations[grading_method.id]['student_results'].find { |h| h['id'] == student.id }['score']
  / td.vm

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gaku_frontend-0.3.0 app/views/gaku/shared/grading/_grading_table_student_field.html.slim
gaku_frontend-0.3.0.pre.4 app/views/gaku/shared/grading/_grading_table_student_field.html.slim
gaku_frontend-0.3.0.pre.3 app/views/gaku/shared/grading/_grading_table_student_field.html.slim
gaku_frontend-0.3.0.pre.2 app/views/gaku/shared/grading/_grading_table_student_field.html.slim
gaku_frontend-0.3.0.pre.1 app/views/gaku/shared/grading/_grading_table_student_field.html.slim