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.127 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.126 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.125 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.124 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.123 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.121 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.120 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.119 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.118 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.117 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.116 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.115 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.113 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.112 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.111 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.110 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.109 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.108 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.106 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.105 app/views/renalware/admissions/requests/_form.html.slim