Create logic and endpoint for confirming report location

This commit is contained in:
Eli Ribble 2026-03-04 00:22:46 +00:00
parent b0fce4f363
commit c7dd53b6eb
No known key found for this signature in database
6 changed files with 63 additions and 18 deletions

View file

@ -62,12 +62,14 @@
<!-- Action Buttons -->
<div class="action-buttons">
<a
href="{{ call .URL.RMO.Mailer.Evidence .C.PublicID }}"
class="btn btn-success flex-grow-1"
<form
action="{{ call .URL.RMO.Mailer.Confirm .C.PublicID }}"
method="POST"
>
<i class="bi bi-check-circle me-2"></i> Correct
</a>
<button type="submit" class="btn btn-success flex-grow-1">
<i class="bi bi-check-circle me-2"></i> Correct
</button>
</form>
<a
href="{{ call .URL.RMO.Mailer.Update .C.PublicID }}"
class="btn btn-outline-primary flex-grow-1"