Sha256: 583aa68cdde4ccee339657c66aac737907cf050e5cf7b3bbbbef9ed71262e7c9
Contents?: true
Size: 1.07 KB
Versions: 16
Compression:
Stored size: 1.07 KB
Contents
= within_admin_layout(title: "Edit", breadcrumbs: breadcrumb_for("AKI Alerts", renal_filtered_aki_alerts_path(named_filter: :today))) do = simple_form_for(alert, wrapper: :horizontal_form) do |f| = f.association :action, wrapper: :horizontal_small = f.association :hospital_ward, as: :grouped_select, group_method: :wards, collection: Renalware::Hospitals::Unit.includes(:wards).ordered, label_method: ->(ward){ [ward.name, ward.code].compact.join(" - ") }, wrapper: :horizontal_medium = f.input :hotlist, wrapper: :horizontal_small, as: :inline_radio_buttons = f.input :max_cre, wrapper: :horizontal_small = f.input :cre_date, as: :date_picker, wrapper: :horizontal_datepicker = f.input :max_aki, wrapper: :horizontal_small = f.input :aki_date, as: :date_picker, wrapper: :horizontal_datepicker = f.input :notes, wrapper: :horizontal_large, input_html: { rows: 5 } = f.submit class: "button" span= " or " = link_to "cancel", renal_filtered_aki_alerts_path(named_filter: :today)
Version data entries
16 entries across 16 versions & 1 rubygems