.container
  .row
    .col-md-6


      .connexion_form
        %h2 Déjà client ?

        = form_tag public_p_customer_auths_path, {:class => "formtastic"} do
          =hidden_field_tag :for_annonce, params[:for_annonce]

          %fieldset.inputs
            .form-group
        
              = label_tag :email, "Email :"
        
              = text_field_tag :email, params[:email], :class => "form-control", :placeholder => "Email"
      
            .form-group
              = label_tag :password, "Mot de passe :"
              = password_field_tag :password, "", :class => "form-control", :placeholder => "Mot de passe"
          
            .form-group{:style => "text-align:center"}
              =check_box_tag :remember_me, 1,params[:remember_me], :style => "display:inline-block;width:auto;"
              = label_tag :remember_me, "Rester connecté ?", :style => "display:inline-block;"

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

            = submit_tag "Se connecter", :class => "btn btn-primary"
          %p{:style => "text-align:center"}
            =link_to "Mot de passe perdu ?", new_public_password_reset_path, :class => "btn btn-default"


    .col-md-6

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