=semantic_form_for [:public, @hipay_virement] do |f| 


  = f.inputs do
    =f.hidden_field :devise_id
    =f.input :hipay_email, :label => "Compte email de votre compte hipay"
    %p 
      =qit("hipay-form-p1", "Veuillez indiquer ci dessous le montant du virement demandé (hors frais)")
    %p
      =qit("hipay-form-p2", "Votre solde de commissions est de")
      =number_to_currency current_annonce_account.solde_commissions(@devise.id), :unit => @devise.icon
      =qit("hipay-form-p3", "vous pouvez donc demander un virement de")
      =number_to_currency current_annonce_account.max_hipay_virement(@devise.id), :unit => @devise.icon
      =qit("hipay-form-p4","(Actuellement 5€ de frais par virements vers Hipay)")
      
      
      
    =f.input :amount_ht, :label => qit("hipay-form-montant", "Montant :")
   
    =f.submit qit("hipay-form-sauvegarder", "Sauvegarder"), :class => "btn btn-primary"
