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.104 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.103 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.102 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.101 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.100 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.99 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.98 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.97 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.96 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.95 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.94 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.93 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.92 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.91 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.90 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.89 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.88 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.87 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.86 app/views/renalware/admissions/requests/_form.html.slim
renalware-core-2.0.85 app/views/renalware/admissions/requests/_form.html.slim