Sha256: 259edde6f869a5eebcfedf702d396b06a19066c8da372038729adee424b5c6b9

Contents?: true

Size: 1.43 KB

Versions: 8

Compression:

Stored size: 1.43 KB

Contents

== welcome_content

= form_for assessment do |form|
  fieldset.start-fields
    .select-fields data-study-id-picker=form.object.ids_grouped_by_study_and_site.to_json
      .field.study-field
        = form.label :study_id_study, "Study"
        = form.select :study_id_study, form.object.study_options, { include_blank: (!form.object.study_options.one? && "---") }, class: "study"

      .field.site-field
        = form.label :study_id_site, "Site"
        = form.select :study_id_site, form.object.site_options, { include_blank: (!form.object.site_options.one? && "---") }, class: "site"

      .field.id-field
        = form.label :study_id_id, "ID"
        = form.select :study_id_id, form.object.id_options, { include_blank: (!form.object.id_options.one? && "----") }, class: "id"

    .visit-fields
      label.hidden Visit
      - events.each do |event|
        .field
          label.visit-label
            = form.radio_button :event, event
            .custom-symbol
            span = event.titleize

    .method-fields
      label.hidden Method

      - enabled_application_methods.each do |method_applied|
        .field
          label.method-label
            = form.radio_button :method_applied, method_applied
            div class=method_applied.parameterize class="custom-symbol"
            span = method_applied


    hr

    .actions
      input.start-button type="submit" value="Start Assessment" data-disable-on-click="true"
      .spinner

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
study_engine-0.3.1 app/views/study_engine/assessments/index.html.slim
study_engine-0.3.0 app/views/study_engine/assessments/index.html.slim
study_engine-0.2.2 app/views/study_engine/assessments/index.html.slim
study_engine-0.2.1 app/views/study_engine/assessments/index.html.slim
study_engine-0.2.0 app/views/study_engine/assessments/index.html.slim
study_engine-0.1.1 app/views/study_engine/assessments/index.html.slim
study_engine-0.1.0 app/views/study_engine/assessments/index.html.slim
study_engine-0.0.2 app/views/study_engine/assessments/index.html.slim