sign_in: improve "Forgot password?" appearance on mobile
This commit is contained in:
parent
0749d981ab
commit
6b14420ffa
4 changed files with 9 additions and 5 deletions
|
@ -45,3 +45,7 @@
|
|||
.flex-grow {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.flex-no-shrink {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
= f.password_field :password, autocomplete: 'current-password'
|
||||
|
||||
.auth-options
|
||||
%div
|
||||
.flex-no-shrink
|
||||
= f.check_box :remember_me
|
||||
= f.label :remember_me, t('views.sessions.new.remember_me'), class: 'remember-me'
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ fr:
|
|||
email: Email (nom@site.com)
|
||||
password: Mot de passe (%{min_length} caractères minimum)
|
||||
remember_me: Se souvenir de moi
|
||||
reset_password: Mot de passe oublié ?
|
||||
reset_password: Mot de passe oublié ?
|
||||
connection: Se connecter
|
||||
are_you_new: Vous êtes nouveau sur %{app_name} ?
|
||||
find_procedure: Trouvez votre démarche
|
||||
|
@ -185,4 +185,4 @@ fr:
|
|||
draft:
|
||||
zero: Brouillon
|
||||
one: Brouillon
|
||||
other: Brouillons
|
||||
other: Brouillons
|
||||
|
|
|
@ -6,7 +6,7 @@ feature 'Managing password:' do
|
|||
scenario 'a simple user can reset their password' do
|
||||
visit root_path
|
||||
click_on 'Connexion'
|
||||
click_on 'Mot de passe oublié ?'
|
||||
click_on 'Mot de passe oublié ?'
|
||||
expect(page).to have_current_path(new_user_password_path)
|
||||
|
||||
fill_in 'Email', with: user.email
|
||||
|
@ -33,7 +33,7 @@ feature 'Managing password:' do
|
|||
scenario 'an admin can reset their password' do
|
||||
visit root_path
|
||||
click_on 'Connexion'
|
||||
click_on 'Mot de passe oublié ?'
|
||||
click_on 'Mot de passe oublié ?'
|
||||
expect(page).to have_current_path(new_user_password_path)
|
||||
|
||||
fill_in 'Email', with: user.email
|
||||
|
|
Loading…
Reference in a new issue