Skip to content

Commit

Permalink
Add link to volunteer edit note path
Browse files Browse the repository at this point in the history
  • Loading branch information
rhian-cs committed Apr 6, 2022
1 parent 89a940e commit d448115
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/volunteers/_notes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<th>Note</th>
<th>Creator</th>
<th>Date</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
Expand All @@ -19,6 +20,9 @@
<td><%= note.content %></td>
<td><%= note.creator.display_name %></td>
<td><%= note.created_at.strftime(t("time.formats.standard")) %></td>
<td>
<%= link_to "Edit", edit_volunteer_note_path(@volunteer, note), class: "btn btn-primary" %>
</td>
</tr>
<% end %>
</tbody>
Expand Down

0 comments on commit d448115

Please sign in to comment.