
.center_content
  %h1
    %center
      Mon compte utilisateur
  .container
    .row
      .col-md-6


        .connexion_form
          %h3 Déjà inscrit ?

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

            %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 => "new_btn new_btn_red new_btn_big"
            %p{:style => "text-align:center"}
              =link_to qit("lost-password","Mot de passe perdu ?"), password_reset_public_p_customer_auths_path(:for_order => params[:for_order]), :class => "shop"

            %br
      .col-md-6
        %h3 Pas encore de compte ?
        
        %br
        %br
        %br
        %center
          =link_to "Créer mon compte", new_public_p_customer_path ,:class => "new_btn new_btn_red new_btn_big"
        =#render :partial => "public/p_customers/new_form"
