Sha256: 2dc8cddfda29e9784bd1f4141ee1ee277fdef16fb6acfb2f50f32a2d75b48a28

Contents?: true

Size: 1.07 KB

Versions: 73

Compression:

Stored size: 1.07 KB

Contents

.modal
  .modal__header
    h2= "#{controller.action_name.capitalize} Request Admission (TCI)"
    = render "renalware/shared/modal_close_link"

  .modal__body
    = render "renalware/shared/errors", model: request

    = simple_form_for(request,
                      remote: true,
                      wrapper: :horizontal_form) do |f|

      .row.admissions-request-patient
        .small-12.medium-4.large-3.columns
          label.right.inline Patient
        .small-12.medium-8.large-9.columns
          strong= request.patient.to_s(:long)

      = f.input :patient_id, as: :hidden
      = f.input :reason_id, collection: reasons, wrapper: :horizontal_medium
      = f.input :priority, wrapper: :horizontal_small
      = f.input :hospital_unit_id, collection: hospital_units, wrapper: :horizontal_medium
      = f.input :notes, as: :text, wrapper: :horizontal_large, input_html: { rows: 5 }
      = f.submit class: :button
      span= " or "
      = link_to "Cancel",
               "#",
               "aria-label" => "Close",
                class: "reveal-modal-close"

    .modal__footer

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
renalware-core-2.0.69 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.68 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.67 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.64 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.63 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.62 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.61 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.60 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.58 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.57 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.56 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.55 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.54 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.53 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.52 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.51 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.50 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.48 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.47 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.46 app/views/renalware/admissions/requests/_form.html.slim