Sha256: d2a62737a5af465fdc2d8fa3ad40cbf79f2e0feb41c3bd1ffe2f49f5d08bec37
Contents?: true
Size: 1.64 KB
Versions: 115
Compression:
Stored size: 1.64 KB
Contents
.search-form.filters = simple_form_for query, as: :q, url: admissions_consults_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 :consult_site_id_eq, collection: Renalware::Admissions::ConsultSite.pluck(:name, :id), label: "Site" .columns.medium-1.large-1 = f.input :seen_by_id_eq, include_blank: false, collection: [["Anyone", nil], ["Me", current_user.id]], label: "Seen by" .columns.medium-1.large-1 = f.input :rrt_eq, include_blank: true, collection: [["Yes", true], ["No", false]], label: "RRT" .columns.medium-1.large-1 = f.input :aki_risk_eq, include_blank: true, collection: Renalware::Admissions::Consult.aki_risk.values.map{ |value| [value.text, value] }, label: "AKI Risk" .columns.medium-1.large-1 = f.input :ended_on_null, include_blank: true, collection: [["Yes", true], ["No", false]], label: "Active" .columns.medium-2.large-2 = f.input :patient_current_modality_description_id_eq, collection: Renalware::Modalities::Description.pluck("name", "id"), label: "Modality" .columns.medium-2.large-2.actions.end = f.submit "Filter", class: "button" span= " or " = link_to t("helpers.reset"), admissions_consults_path(reset: 1)
Version data entries
115 entries across 115 versions & 1 rubygems