Skip to content

Commit

Permalink
fix UndefinedError in “Payment Instruments” page
Browse files Browse the repository at this point in the history
fixes LIBERAPAYCOM-27K
  • Loading branch information
Changaco committed Nov 2, 2024
1 parent 4432341 commit b7cb6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/%username/routes/index.spt
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ title = _("Payment Instruments")
name="set_as_default_for" value="{{ route.id }}:"
title="{{ _(
'Stop using this instrument by default for payments in {currency}.',
currency=Currency(last_payin.amount.currency)
currency=Currency(route.is_default_for)
) }}">{{ _(
"Unset as default for {currency}", currency=last_payin.amount.currency
"Unset as default for {currency}", currency=route.is_default_for
) }}</button>
% elif route.network != 'stripe-card' and last_payin and participant.donates_in_multiple_currencies
<button class="btn btn-primary btn-xs"
Expand Down

0 comments on commit b7cb6f2

Please sign in to comment.