demarches-normaliennes/app/views/users/sessions/new.html.haml

28 lines
888 B
Text
Raw Normal View History

2017-01-03 11:32:21 +01:00
#form_login.user_connexion_page
2015-10-07 18:14:10 +02:00
%br
2016-11-07 17:08:33 +01:00
= render partial: 'users/sessions/resume_procedure'
2016-11-03 16:46:26 +01:00
%h2#login_user
=t('dynamics.users.connexion_title')
2015-11-20 17:50:27 +01:00
%a.btn_fc#btn_fcp{href: '/france_connect/particulier'}
= image_tag 'franceconnect_logo.png'
2016-01-11 17:38:16 +01:00
2015-12-03 15:09:22 +01:00
%br
%a.text-info{href: 'https://fcp.integ01.dev-franceconnect.fr/a-propos', target: '_blank'}
Quest-ce que FranceConnect ?
%hr
2017-03-07 10:15:33 +01:00
.text-left
= simple_form_for @user, url: user_session_path do |f|
= f.input :email
= f.input :password, label: 'Mot de passe', input_html: { value: @user.password }
- if devise_mapping.rememberable?
= f.input :remember_me, as: :boolean, label: 'Se souvenir de moi'
.text-center
= f.submit "Se connecter", class:'btn btn-primary'
2017-01-03 10:40:09 +01:00
- if @user.email != DemoEmails[:gestionnaire] && @user.email != DemoEmails[:admin]
= render "users/shared/links"