Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: faa895d925
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.548 kb
- title 'Patients'
= header do
%h1 Patients
= link_to "Export All Patients",
admin_export_patients_path(:filename => "patients"),
:target => "_blank", :class => 'btn btn-small'
- @patients_table.controls do |patient|
= link_to 'History', history_admin_patient_path(patient)
= link_to 'Edit', edit_admin_patient_path(patient)
= link_to 'Print', chart_patient_path(patient)
= link_to 'Destroy', admin_patient_path(patient),
data: {confirm: 'Are you sure?'}, method: :delete
= render "patients/patients"
Jump to Line
Something went wrong with that request. Please try again.