2019-04-01 15:03:13 +02:00
|
|
|
= content_for(:page_id, 'auth')
|
|
|
|
|
2019-01-08 14:23:48 +01:00
|
|
|
.auth-form
|
|
|
|
= devise_error_messages!
|
|
|
|
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
|
|
|
|
%h1 Créez-vous un compte demarches-simplifiees.fr
|
2015-11-27 18:25:31 +01:00
|
|
|
|
2019-12-02 13:07:40 +01:00
|
|
|
.suspect-email.hidden
|
|
|
|
.question Vouliez-vous dire <span class="suggested-email">blabla@gmail.com</span> ?
|
2019-11-28 15:34:46 +01:00
|
|
|
.answer
|
2019-12-02 13:07:40 +01:00
|
|
|
= button_tag type: 'button', class:'button', onclick: "DS.acceptEmailSuggestion()" do
|
|
|
|
Oui
|
|
|
|
= button_tag type: 'button', class:'button', onclick: "DS.discardEmailSuggestionBox()" do
|
|
|
|
Non
|
2019-11-28 15:34:46 +01:00
|
|
|
|
2019-01-08 14:23:48 +01:00
|
|
|
= f.label :email, "Email"
|
|
|
|
= f.text_field :email, autofocus: true, placeholder: "Votre adresse email"
|
2015-12-15 15:17:12 +01:00
|
|
|
|
2019-01-08 14:23:48 +01:00
|
|
|
= f.label :password, "Mot de passe"
|
|
|
|
= f.password_field :password, value: @user.password, placeholder: "8 caractères minimum"
|
2015-11-27 18:25:31 +01:00
|
|
|
|
2019-01-08 14:23:48 +01:00
|
|
|
= f.submit "Créer un compte", class: "button large primary expand"
|
2017-06-21 14:20:22 +02:00
|
|
|
|
2019-04-02 15:03:26 +02:00
|
|
|
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }
|