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.126 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.125 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.124 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.123 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.121 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.120 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.119 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.118 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.117 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.116 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.115 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.113 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.112 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.111 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.110 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.109 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.108 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.106 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.105 app/views/renalware/medications/prescriptions/_filter_form.html.slim
renalware-core-2.0.104 app/views/renalware/medications/prescriptions/_filter_form.html.slim