From d448115ae63ed01e9351326b4d357252c7c3f312 Mon Sep 17 00:00:00 2001 From: rhian-cs Date: Tue, 5 Apr 2022 17:49:52 -0300 Subject: [PATCH] Add link to volunteer edit note path --- app/views/volunteers/_notes.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/volunteers/_notes.html.erb b/app/views/volunteers/_notes.html.erb index 077b79f2b2..317018e146 100644 --- a/app/views/volunteers/_notes.html.erb +++ b/app/views/volunteers/_notes.html.erb @@ -11,6 +11,7 @@ Note Creator Date + Actions @@ -19,6 +20,9 @@ <%= note.content %> <%= note.creator.display_name %> <%= note.created_at.strftime(t("time.formats.standard")) %> + + <%= link_to "Edit", edit_volunteer_note_path(@volunteer, note), class: "btn btn-primary" %> + <% end %>