Sha256: acfdd3ec405852e796b5d5fab07b1174f365b99087e5410aa47bb102a1669a2d

Contents?: true

Size: 877 Bytes

Versions: 129

Compression:

Stored size: 877 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(title=patient.primary_care_physician&.code) GP:
    - if patient.primary_care_physician.present?
      dd= patient.primary_care_physician
    - else
      dd None

    dt(title=patient.practice&.code) Practice:
    - if patient.practice
      dd= patient.practice.name
      dt Address:
      dd= Renalware::AddressPresenter::Block.new(patient.practice.address).to_html
      dt Tel:
      dd= patient.practice.telephone
      dt Email:
      dd= patient.practice.email
    - else
      dd None

/ 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

129 entries across 129 versions & 1 rubygems

Version Path
renalware-core-2.0.146 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.145 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.144 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.143 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.142 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.141 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.140 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.139 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.138 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.137 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.136 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.135 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.134 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.133 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.132 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.131 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.130 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.129 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.128 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim
renalware-core-2.0.127 app/views/renalware/patients/patients/show/_primary_care_physician.html.slim