Merge pull request #5292 from betagouv/dev
This commit is contained in:
commit
1360ca8e9e
2 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@
|
|||
- else
|
||||
- root_profile_link, root_profile_libelle = root_path_info_for_profile(nav_bar_profile)
|
||||
= link_to root_profile_link, class: 'header-logo justify-center', title: root_profile_libelle do
|
||||
= image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: '65px'
|
||||
= image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: '65'
|
||||
%span.big.site-title> demarches-simplifiees.fr
|
||||
%span.small.site-title> d-s.fr
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
|
||||
%h1 Créez-vous un compte demarches-simplifiees.fr
|
||||
|
||||
= f.label :email, "Email (nom@site.com)"
|
||||
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true, placeholder: "Votre adresse email"
|
||||
= f.label :email, "Email (nom@site.com)", id: :user_email_label
|
||||
= f.text_field :email, type: :email, autocomplete: 'email', autofocus: true, placeholder: "Votre adresse email", 'aria-describedby': :user_email_label
|
||||
|
||||
.suspect-email.hidden
|
||||
.email-suggestion-title
|
||||
|
@ -19,8 +19,8 @@
|
|||
= button_tag type: 'button', class: 'button small', onclick: "DS.discardEmailSuggestionBox()" do
|
||||
Non
|
||||
|
||||
= f.label :password, "Mot de passe (#{PASSWORD_MIN_LENGTH} caractères minimum)"
|
||||
= f.password_field :password, autocomplete: 'new-password', value: @user.password, placeholder: "#{PASSWORD_MIN_LENGTH} caractères minimum", 'aria-describedby':'8 caractères minimum'
|
||||
= f.label :password, "Mot de passe (#{PASSWORD_MIN_LENGTH} caractères minimum)", id: :user_password_label
|
||||
= f.password_field :password, autocomplete: 'new-password', value: @user.password, placeholder: "#{PASSWORD_MIN_LENGTH} caractères minimum", 'aria-describedby': :user_password_label
|
||||
|
||||
= f.submit "Créer un compte", class: "button large primary expand"
|
||||
|
||||
|
|
Loading…
Reference in a new issue