Sha256: 7211c79a37b236fb5201192afb3b2abcd80f17c2599ab1ee2192db83dfb77591
Contents?: true
Size: 1.04 KB
Versions: 41
Compression:
Stored size: 1.04 KB
Contents
- if notes.blank? #new-note-area spam No notes - else table.auto-layout thead - unless problem.archived? th.col-width-tiny th Description th.col-width-medium Recorded By th.col-width-date-time Recorded On tbody - notes.each do |note| tr - unless problem.archived? td - if policy(note).edit? = link_to "Edit", edit_patient_problem_note_path(problem.patient, problem, note), remote: true - if policy(note).destroy? = pipe_separator = link_to "Delete", patient_problem_note_path(problem.patient, problem, note), method: :delete, remote: true, data: { confirm: "Are you sure you want to delete this note?" } td(class="problem-note-#{note.id}")= note.description td= note.updated_by td= l(note.updated_at) #new-note-area
Version data entries
41 entries across 41 versions & 1 rubygems