Merge pull request #710 from sgmap/fix_login_style
Login: fix remember me checkbox and forget password link
This commit is contained in:
commit
67ff7ccf7e
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
@import "colors";
|
@import "colors";
|
||||||
|
@import "constants";
|
||||||
@import "placeholders";
|
@import "placeholders";
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
|
||||||
|
@ -60,7 +61,12 @@ $auth-breakpoint: 820px;
|
||||||
|
|
||||||
.auth-form {
|
.auth-form {
|
||||||
.reset-password {
|
.reset-password {
|
||||||
margin-top: 8px;
|
margin-top: - 3 * $default-spacer;
|
||||||
|
margin-bottom: $default-spacer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.remember-me {
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.separation {
|
.separation {
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
- if devise_mapping.rememberable?
|
- if devise_mapping.rememberable?
|
||||||
= f.check_box :remember_me, as: :boolean
|
= f.check_box :remember_me, as: :boolean
|
||||||
= f.label :remember_me, "Se souvenir de moi"
|
= f.label :remember_me, "Se souvenir de moi", class: 'remember-me'
|
||||||
|
|
||||||
= f.submit "Se connecter", class: "button large primary expand"
|
= f.submit "Se connecter", class: "button large primary expand"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue