Sha256: db1a863e226c65df575a71c6a051e581be4188c8397bb9e001d853befd7bbd93

Contents?: true

Size: 681 Bytes

Versions: 8

Compression:

Stored size: 681 Bytes

Contents

article
  header
    h2 GP
    = link_to "Edit",
              edit_patient_primary_care_physician_path(patient),
              class: "button change-gp",
              data: { "reveal-id" => "change-gp-modal", "reveal-ajax" => "true" }

  dl.dl-horizontal
    dt GP:
    - if patient.primary_care_physician.present?
      dd= patient.primary_care_physician
    - else
      dd None
    - if patient.practice
      dt Practice
      dd
        = patient.practice.name
        br
        = Renalware::AddressPresenter::Block.new(patient.practice.address).to_html

/ This is where the Find GP modal will be inserted in an Ajax call
#change-gp-modal.reveal-modal.medium(data-reveal)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/patients/show/_primary_care_physician.html.slim