Sha256: 1948f25a06fe443c5717e0e5cf80a25907eb2a2bb3e8de00e7290dbdee1c8e16

Contents?: true

Size: 988 Bytes

Versions: 5

Compression:

Stored size: 988 Bytes

Contents

.row
  .col-md-6
    = ep_form.text_field :name, value: ep_form.object.name || t(:'exam.singular'), label: t(:'exam_portion.name')
  .col-md-2
    = ep_form.number_field :weight, label: t(:'exam_portion.weight')
  .col-md-2
    = ep_form.number_field :problem_count, label: t(:'exam_portion.problem_count')
  .col-md-2
    = ep_form.number_field :max_score, label: t(:'exam_portion.max_score'), value: ep_form.object.max_score || 100
.row
  .col-md-6
    = ep_form.text_area :description, size: "0x2", label: t(:'exam_portion.description')
  .col-md-6
    = ep_form.text_area :adjustments, size: "0x2", label: t(:'exam_portion.adjustments')
.row
  .col-md-6
    = ep_form.select :score_type, options_for_select(score_type_options, ep_form.object.score_type), {}, class:'form-control', label: t(:'exam_portion.score_type.plural')
#score_selection_options.row class="#{'hide' unless ep_form.object.score_selection?}"
  = render 'gaku/shared/form_fields/exam_portions/selection', f: ep_form

Version data entries

5 entries across 5 versions & 1 rubygems

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