Sha256: 7e5e53310b0ff9bca4340185edcc8d9c3b853ea125fc3ae74988ae3731fcf145

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

- if prescription.current? && policy(prescription).edit?
  = link_to t("btn.edit"), edit_patient_prescription_path(patient, prescription), remote: true
- unless prescription.terminated_or_marked_for_termination?
  - if policy(prescription).destroy?
    = link_to t("btn.terminate"),
              new_patient_medications_prescription_termination_path(patient,
                                                                    prescription,
                                                                    @treatable),
              remote: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/medications/prescriptions/_options.html.slim
renalware-core-2.1.0 app/views/renalware/medications/prescriptions/_options.html.slim