Sha256: 2d49c0b076f6edc21bdd7abf55b03675ed6fd31a24e98d88bdfc74f127a08c31

Contents?: true

Size: 1.09 KB

Versions: 75

Compression:

Stored size: 1.09 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, autofocus: true
      = 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

75 entries across 75 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.146 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.145 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.144 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.143 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.142 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.141 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.140 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.139 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.138 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.137 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.136 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.135 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.134 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.133 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.132 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.131 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.130 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.129 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.128 app/views/renalware/admissions/requests/_form.html.slim