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

34 lines
1.1 KiB
Text
Raw Normal View History

2017-06-21 14:20:22 +02:00
.two-columns.auth
.columns-container
.column.preview
= image_tag "landing/hero/dematerialiser.svg", class: "paperless-logo"
.baseline.center
%h3 Un outil simple
%p
pour gérer les formulaires
%br
administratifs dématérialisés.
2015-11-27 18:25:31 +01:00
2017-06-21 14:20:22 +02:00
.column.auth-form
= devise_error_messages!
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
2017-06-21 14:20:22 +02:00
%h1 Créez-vous un compte
2017-06-21 14:20:22 +02:00
= f.label :email, "Email"
= f.text_field :email, autofocus: true
2015-11-27 18:25:31 +01:00
2017-06-21 14:20:22 +02:00
= f.label :password, "Mot de passe"
= f.password_field :password, value: @user.password, placeholder: "8 caractères minimum"
= f.submit "Créer un compte", class: "button large primary expand"
.separation.center
ou
.center
= image_tag "login-with-fc-hover.svg", style: "display: none"
= link_to "", france_connect_particulier_path, class: "login-with-fc"
.center
= link_to "Quest-ce que FranceConnect ?", "https://franceconnect.gouv.fr/", target: "_blank", class: "link"