Skip to content

Commit 4743d87

Browse files
committed
confirm before removing note
1 parent 7025331 commit 4743d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/templates/consideration.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h2 class="govuk-heading-l">Notes</h2>
282282
</span>
283283
<span class="govuk-!-font-size-14">
284284
<a href="{{ url_for('planning_consideration.delete_note', slug=consideration.slug, note_id=note.id )}}" class="govuk-link
285-
app-destructive-link" >Remove<span class="govuk-visually-hidden"> note</span></a>
285+
app-destructive-link" onclick="return confirm('Are you sure you want to remove this note?');">Remove<span class="govuk-visually-hidden"> note</span></a>
286286
</span>
287287
</div>
288288
</li>

0 commit comments

Comments
 (0)