Sha256: 4043bcee9183e6db703e7c5b95a226976cc9360c88a6da1e94895040c77d6833

Contents?: true

Size: 1.37 KB

Versions: 25

Compression:

Stored size: 1.37 KB

Contents

tr(class="#{'dna' if clinic_visit.did_not_attend?}")
  td
    = link_to "Edit", edit_patient_clinic_visit_path(patient, clinic_visit)
    = pipe_separator
    = link_to("Toggle",
              "#clinic_visit-quick-preview-#{clinic_visit.id}",
              data: { behaviour: "toggler" })
    = pipe_separator
    - if policy(clinic_visit).destroy?
      = link_to "Delete",
                patient_clinic_visit_path(patient, clinic_visit),
                method: :delete,
                data: { confirm: I18n.t("prompts.confirm_delete") }
      = pipe_separator
    = link_to_clinic_visit_letter(patient, clinic_visit)
  td.date-time= l(clinic_visit.date)
  td= yes_no(clinic_visit.did_not_attend)
  td.clinic-type= clinic_visit.clinic
  td.bmi= clinic_visit.height
  td.bmi= clinic_visit.weight
  td.bmi= clinic_visit.bmi
  td.bp= clinic_visit.bp
  td.bp= clinic_visit.standing_bp
  td.bp= clinic_visit.pulse
  td.bp= clinic_visit.temperature
  td= clinic_visit.urine_blood&.text
  td= clinic_visit.urine_protein&.text
  td.created-by= clinic_visit.created_by
= content_tag(:tr, id: "clinic_visit-quick-preview-#{clinic_visit.id}", style: "display: none")
  td(colspan=14)
    .quick-preview
      = definition_list_for(clinic_visit, size: :large) do |list|
        = list.definition(:notes){ |value| simple_format(value) }
        = list.definition(:admin_notes){ |value| simple_format(value) }

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
renalware-core-2.0.52 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.51 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.50 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.48 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.47 app/views/renalware/clinics/clinic_visits/_table_row.html.slim