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.75 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.74 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.73 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.72 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.71 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.70 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.69 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.68 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.67 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.64 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.63 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.62 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.61 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.60 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.58 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.57 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.56 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.55 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.54 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.53 app/views/renalware/clinics/clinic_visits/_table_row.html.slim