Sha256: 1daf2f445992b903ceb99c6677ce1fd155b25b3c93a6dd1e948f1ec115141554

Contents?: true

Size: 764 Bytes

Versions: 16

Compression:

Stored size: 764 Bytes

Contents

.search-form.filters
  = simple_form_for query,
      as: :q,
      url: pd_pet_completions_path,
      method: :get do |f|
    .row
      .columns.medium-2.large-2
        = f.input :identity_match, label: "Hosp/NHS no or name"

      .columns.medium-2.large-2
        = f.input :complete_eq,
                  collection: [["Yes", true], ["No", false]],
                  label: "Complete"

      .columns.medium-2.large-2
        = f.input :test_type_eq,
                  collection: Renalware::PD::PETResult.test_type.values.map{ |val| [val.text, val] },
                  label: "Test type"

      .columns.medium-2.large-2.actions.end
        = f.submit "Filter", class: "button"
        '  or
        = link_to t("helpers.reset"), pd_pet_completions_path

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.166 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.165 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.164 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.163 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.162 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.161 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.160 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.159 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.158 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.157 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.156 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.155 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.153 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.152 app/views/renalware/pd/pet_completions/_filters.html.slim
renalware-core-2.0.151 app/views/renalware/pd/pet_completions/_filters.html.slim