diff options
Diffstat (limited to 'talerbank/app/views.py')
-rw-r--r-- | talerbank/app/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/talerbank/app/views.py b/talerbank/app/views.py index 1855609..ecb0ec7 100644 --- a/talerbank/app/views.py +++ b/talerbank/app/views.py @@ -297,6 +297,14 @@ class InputDatalist(forms.TextInput): class PaytoTransferForm(forms.Form): address = forms.CharField() + +@login_required +def payto_form(request): + context = dict( + currency=request.user.bankaccount.balance.amount.currency, + ) + return render(request, "payto_wiretransfer.html", context) + ## # This method serves the profile page, which is the main # page where the user interacts with the bank, and also the |