.forum_connect

  .connexion

    .inner

      .formtastic
    
        .connexion_form
      


          %h1= qit "Vous avez déjà un compte title", "Vous avez déjà un compte ?"

          = form_tag public_product_customers_auths_path do
            =hidden_field_tag :for_annonce, params[:for_annonce]
            =hidden_field_tag :for_mail, params[:for_mail]


            %p
              = label_tag :email, qit("email-label","email :")
          
              = text_field_tag :email, params[:email], :class => "form-control", :placeholder => qit("email","Email")

            %p
              = label_tag :password, qit("password-label","Mot de passe :")
            
              = password_field_tag :password, "", :class => "form-control", :placeholder => qit("password","Mot de passe")
            
            %p
              =check_box_tag :remember_me, 1,params[:remember_me], :style => "display:inline-block;width:auto;"
              = label_tag :remember_me, qit("keep-connect-label","Rester connecté ?"), :style => "display:inline-block;width:auto;"

            %p

              = submit_tag qit("login-submit", "Se connecter"), :class => "btn btn-primary order_button"
            %p
              =link_to qit("lost-password","Mot de passe perdu ?"), new_public_password_reset_path

  .inscription
    .inner
      =render :partial => "public/product_customers/new_form"