= content_for(:page_id, 'auth') .auth-form.sign-in-form = form_for resource, url: user_session_path, html: { class: "form" } do |f| %h1.huge-title= t('views.users.sessions.new.sign_in') = render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path } = f.label :email, t('views.users.sessions.new.email') = f.text_field :email, type: :email, autocomplete: 'username', autofocus: true = f.label :password, t('views.users.sessions.new.password', min_length: PASSWORD_MIN_LENGTH) = f.password_field :password, autocomplete: 'current-password' .auth-options .flex-no-shrink = f.check_box :remember_me = f.label :remember_me, t('views.users.sessions.new.remember_me'), class: 'remember-me' .text-right = link_to t('views.users.sessions.new.reset_password'), new_user_password_path, class: "link" = f.submit t('views.users.sessions.new.connection'), class: "button large primary expand" .france-connect-login-separator = t('views.shared.france_connect_login.separator') - if AgentConnectService.enabled? .center %p.mb-2= t('views.users.sessions.new.instructor_or_admin') = link_to t('views.users.sessions.new.connect_with_agent_connect'), agent_connect_path %hr %p.center %span= t('views.users.sessions.new.are_you_new', app_name: APPLICATION_NAME.gsub("-","‑")).html_safe %br %br = link_to t('views.users.sessions.new.find_procedure'), COMMENT_TROUVER_MA_DEMARCHE_URL, target: "_blank", class: "button expend secondary"