affiche un warning pour l'email qqsoit l'email
This commit is contained in:
parent
185ea93b03
commit
3db2d44fc0
2 changed files with 16 additions and 0 deletions
10
app/assets/stylesheets/new_design/user_signup.scss
Normal file
10
app/assets/stylesheets/new_design/user_signup.scss
Normal file
|
@ -0,0 +1,10 @@
|
|||
@import "colors";
|
||||
@import "constants";
|
||||
|
||||
.suspect-email {
|
||||
background-color: $orange-bg;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
padding: $default-padding;
|
||||
}
|
||||
|
|
@ -5,6 +5,12 @@
|
|||
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
|
||||
%h1 Créez-vous un compte demarches-simplifiees.fr
|
||||
|
||||
.suspect-email
|
||||
.question Vouliez-vous dire blabla@gmail.com ?
|
||||
.answer
|
||||
.button Oui
|
||||
.button Non
|
||||
|
||||
= f.label :email, "Email"
|
||||
= f.text_field :email, autofocus: true, placeholder: "Votre adresse email"
|
||||
|
||||
|
|
Loading…
Reference in a new issue