Skip to content

Commit

Permalink
Fix 'reset receipt' link
Browse files Browse the repository at this point in the history
This should fix the 500 error about a missing csrf token when clicking the "Undo Extras" button.
  • Loading branch information
kitsuta committed May 17, 2024
1 parent c097295 commit f4acd7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uber/templates/preregistration/new_badge_payment.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
{% if attendee.has_extras %}
<div class="col col-auto">
<form method="post" action="reset_receipt">
{{ csrf_token() }}
<input type="hidden" name="id" value="{{ attendee.id }}"/>
<input type="hidden" name="return_to" value="{{ return_to }}"/>
<button class="btn btn-warning">Cancel All Extras</button>
Expand Down

0 comments on commit f4acd7d

Please sign in to comment.