Browse Source

Refix les erreurs d'affichage

fix_front_profil
Hugo LEVY-FALK 8 years ago
parent
commit
d37364ee8f
  1. 2
      cotisations/templates/cotisations/recharge.html
  2. 3
      cotisations/views.py

2
cotisations/templates/cotisations/recharge.html

@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h2>{% trans "Balance refill" %}</h2>
<h3>
{% blocktrans %}
Balance : <span class="label label-default">{{ request.user.solde }} €</span>
Balance : <span class="label label-default">{{ solde }} €</span>
{% endblocktrans %}
</h3>
<form class="form" method="post">

3
cotisations/views.py

@ -899,5 +899,6 @@ def recharge(request):
](invoice, request)
return render(request, 'cotisations/payment.html', content)
return form({
'rechargeform': refill_form
'rechargeform': refill_form,
'solde': request.user.solde
}, 'cotisations/recharge.html', request)

Loading…
Cancel
Save