Sha256: c31b52090b4cc5669042e2dce44720a06ce99b36a97cf47dbebaef91f77cd32b

Contents?: true

Size: 1.31 KB

Versions: 26

Compression:

Stored size: 1.31 KB

Contents

tr(class="#{'dna' if clinic_visit.did_not_attend?}")
  td.noprint= toggler("#clinic_visit-quick-preview-#{clinic_visit.id}")
  td.noprint.actions
    - if policy(clinic_visit).edit?
      = link_to "Edit",
                edit_patient_clinic_visit_path(patient, clinic_visit)
    - if policy(clinic_visit).destroy?
      = link_to "Delete",
                patient_clinic_visit_path(patient, clinic_visit),
                method: :delete,
                data: { confirm: I18n.t("prompts.confirm_delete") }
    = 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=15)
    .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

26 entries across 26 versions & 1 rubygems

Version Path
renalware-core-2.0.149 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.148 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.147 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.146 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.145 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.144 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.143 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.142 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.141 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.140 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.139 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.138 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.137 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.136 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.135 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.134 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.133 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.132 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.131 app/views/renalware/clinics/clinic_visits/_table_row.html.slim
renalware-core-2.0.130 app/views/renalware/clinics/clinic_visits/_table_row.html.slim