daily pastebin goal


a guest Jan 13th, 2018 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% @patients.each do |patient| %>
  2.   <tr>
  3.     <td><%=h patient.first_name %></td>
  4.     <td><%=h patient.last_name %></td>
  5.     <td><center><%=h patient.show_remaining_visits(patient) %></center></td>
  6.     <td><%=h patient.therapist.therapist_full_name %></td>
  7.     <td><%= link_to 'Show', patient %></td>
  8.     <% if can? :update, patient %>
  9.       <td><%= link_to 'Edit', edit_patient_path(patient) %></td>
  10.     <% end %>
  11.     <% if can? :destroy, patient %>
  12.       <td><%= link_to 'Destroy', patient, :confirm => 'Are you sure? Remember, if this Patient is assigned to a Patient Authorization, it cannot be destroyed.', :method => :delete %></td>
  13.     <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand