negos_app/app/views/public/my_account/_solde_credits.html.haml
Nicolas Bally 772e87ffb7 initial
2015-11-14 00:08:54 +01:00

14 lines
345 B
Plaintext

.center.solde_credits
%p
=image_tag "/credit.png"
A ce jour vous avez
=current_customer.solde_credits(Date.today)
-if current_customer.solde_credits(Date.today) > 1
crédits
-else
crédit
%br
%br
=link_to "acheter des crédits", public_credit_products_path, :class => "btn btn-primary btn-lg"