Sha256: 9e8d7e151414124e2b139a660c801712362d215b9c54d76f354018fb712e1214
Contents?: true
Size: 1.01 KB
Versions: 5
Compression:
Stored size: 1.01 KB
Contents
= within_admin_layout(title: "Edit", breadcrumbs: breadcrumb_for("AKI Alerts", renal_aki_alerts_path)) 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_aki_alerts_path
Version data entries
5 entries across 5 versions & 1 rubygems