
.row.container
  .col-md-6


    .connexion_form
      %h1 Déjà membre ?

      = form_tag public_customers_auths_path do
        =hidden_field_tag :for_annonce, params[:for_annonce]


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

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

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


  .col-md-6

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