Merge branch '35178-remember-me-in-omniauth-box-seems-too-close-to-icons' into 'master'

add margin above Remember Me for social login

Closes #35178

See merge request !12957
This commit is contained in:
Clement Ho 2017-07-21 21:19:25 +00:00
commit b5c3666fcc
2 changed files with 3 additions and 3 deletions

View file

@ -7,6 +7,6 @@
%span.light
- has_icon = provider_has_icon?(provider)
= link_to provider_image_tag(provider), omniauth_authorize_path(:user, provider), method: :post, class: 'oauth-login' + (has_icon ? ' oauth-image-link' : ' btn'), id: "oauth-login-#{provider}"
%fieldset
%fieldset.prepend-top-10
= check_box_tag :remember_me
= label_tag :remember_me, 'Remember Me'
= label_tag :remember_me, 'Remember me'

View file

@ -64,7 +64,7 @@ module LoginHelpers
visit new_user_session_path
expect(page).to have_content('Sign in with')
check 'Remember Me' if remember_me
check 'remember_me' if remember_me
click_link "oauth-login-#{provider}"
end