diff --git a/app/assets/stylesheets/new_design/user_signup.scss b/app/assets/stylesheets/new_design/user_signup.scss new file mode 100644 index 000000000..4592e34b0 --- /dev/null +++ b/app/assets/stylesheets/new_design/user_signup.scss @@ -0,0 +1,10 @@ +@import "colors"; +@import "constants"; + +.suspect-email { + background-color: $orange-bg; + font-weight: bold; + text-align: center; + padding: $default-padding; +} + diff --git a/app/views/users/registrations/new.html.haml b/app/views/users/registrations/new.html.haml index d21b184be..f474b6661 100644 --- a/app/views/users/registrations/new.html.haml +++ b/app/views/users/registrations/new.html.haml @@ -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"