Skip to content

Commit

Permalink
Fix note deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-kelp committed Apr 7, 2024
1 parent e2f64bf commit 65b61e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenOversight/app/templates/note_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>Delete Note on officer {{ obj.officer_id }}</h1>
<p class="lead">
Are you sure you want to delete this note?
This cannot be undone.
<form action="{{ url_for('main.note_api_edit', obj_id=obj.id, officer_id=obj.officer_id) }}"
<form action="{{ url_for('main.note_api_delete', obj_id=obj.id, officer_id=obj.officer_id) }}"
method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<button class="btn btn-danger" type="submit">Delete</button>
Expand Down

0 comments on commit 65b61e8

Please sign in to comment.