Sha256: 0cc9c4f746cf597f9b406834ac99fe322b6cb6e883087eaa3921d5235945e92b

Contents?: true

Size: 737 Bytes

Versions: 156

Compression:

Stored size: 737 Bytes

Contents

.medications-filter
  = search_form_for search, url: patient_prescriptions_path(@patient) do |f|
    = hidden_field_tag :treatable_id, treatable.id
    = hidden_field_tag :treatable_type, treatable.class.to_s
    = hidden_field_tag :filter, 1

    = f.select(:drug_drug_types_id_eq,
                options_from_collection_for_select(drug_types,
                                                   "id",
                                                   "name",
                                                   search.drug_drug_types_id_eq),
                 include_blank: "All drug types")

    = f.button t("helpers.submit.filter"), class: "button secondary"
    = " or "
    = link_to "reset", patient_prescriptions_path(@patient)

Version data entries

156 entries across 156 versions & 1 rubygems

Version Path
renalware-core-2.0.146 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.145 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.144 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.143 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.142 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.141 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.140 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.139 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.138 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.137 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.136 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.135 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.134 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.133 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.132 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.131 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.130 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.129 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.128 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.127 app/views/renalware/medications/prescriptions/_filter_form.html.slim