-if params[:for_mail]
  .alert.alert-warning
    =qit "alert-ins-mail" do
      Pour des raisons des sécurité vous devez avoir un compte sur Sideplace pour envoyer un message privé.  

=render :partial => "public/shared/annonce_menu" if params[:for_annonce]
=render :partial => "public/shared/facebook_auth"
.row
  .col-md-6
    
    .connexion_form
      


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

      = form_tag public_annonce_accounts_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 :")
        %p
          = text_field_tag :email, params[:email], :class => "form-control", :placeholder => qit("email","Email")

        %p
          = label_tag :password, qit("password-label","Mot de passe :")
        %p
          = password_field_tag :password, "", :class => "form-control", :placeholder => qit("password","Mot de passe")
        %p{:style => "text-align:center"}
          =check_box_tag :remember_me, 1,params[:remember_me]
          = label_tag :remember_me, qit("keep-connect-label","Rester connecté ?")

        %p{:style => "text-align:center"}

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


  .col-md-6

    =render :partial => "public/annonce_accounts/new_form"
