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

Version Path
renalware-core-2.0.41 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.40 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.39 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.38 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.37 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.36 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.35 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.34 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.33 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.32 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.31 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.30 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.28 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.27 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.26 app/views/renalware/renal/aki_alerts/edit.html.slim
renalware-core-2.0.25 app/views/renalware/renal/aki_alerts/edit.html.slim