.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"
    
