= content_for(:page_id, 'auth')

.auth-form.sign-in-form
  %p.register
    %span
      Nouveau sur demarches&#8209;simplifiees.fr ?
    = link_to "Créer un compte", new_user_registration_path, class: "button primary auth-signup-button"

  %hr

  = form_for User.new, url: user_session_path, html: { class: "form" } do |f|
    %h1 Connectez-vous

    = f.label :email, "Email"
    = f.text_field :email, autofocus: true

    = f.label :password, "Mot de passe"
    = f.password_field :password, placeholder: "8 caractères minimum"

    .auth-options
      %div
        = f.check_box :remember_me, as: :boolean
        = f.label :remember_me, "Se souvenir de moi", class: 'remember-me'

      .text-right
        = link_to "Mot de passe oublié ?", new_user_password_path, class: "link"

    = f.submit "Se connecter", class: "button large primary expand"

  = render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }

= content_for(:page_id, 'auth')

.auth-form.sign-in-form

  = form_for User.new, url: user_session_path, html: { class: "form" } do |f|
    %h1 Connectez-vous

    = f.label :email, "Email"
    = f.text_field :email, autofocus: true

    = f.label :password, "Mot de passe"
    = f.password_field :password, placeholder: "8 caractères minimum"

    .auth-options
      %div
        = f.check_box :remember_me, as: :boolean
        = f.label :remember_me, "Se souvenir de moi", class: 'remember-me'

      .text-right
        = link_to "Mot de passe oublié ?", new_user_password_path, class: "link"

    = f.submit "Se connecter", class: "button large primary expand"

  = render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }

  %hr
  %p.center
    %span Vous êtes nouveau sur demarches&#8209;simplifiees.fr ?
    %br
    %br
    = link_to "Trouvez votre démarche", "https://faq.demarches-simplifiees.fr/article/59-comment-trouver-ma-demarche", class: "button expend secondary"

Remove sign up form sign in Add link to sign up help
Remove sign up form sign in
Add link to sign up help

Signed-off-by: Chaïb Martinez <9bad01bef23a5c5c9a5d48892366c8844a5239fd@gmail.com>
