Improve devise views
This commit is contained in:
parent
210e9cd489
commit
66121d6caa
4 changed files with 20 additions and 21 deletions
|
@ -11,18 +11,18 @@
|
|||
= f.check_box :remember_me
|
||||
%span Remember me
|
||||
%br/
|
||||
= f.submit "Sign in", :class => "btn-primary btn wide"
|
||||
= f.submit "Sign in", :class => "btn-create btn"
|
||||
.pull-right
|
||||
= link_to "Forgot your password?", new_password_path(resource_name), :class => "btn"
|
||||
%br/
|
||||
%br/
|
||||
- if Gitlab.config.gitlab.signup_enabled
|
||||
%hr/
|
||||
Don't have an account?
|
||||
= link_to "Sign up", new_registration_path(resource_name)
|
||||
.clearfix
|
||||
- if devise_mapping.omniauthable? && resource_class.omniauth_providers.present?
|
||||
%hr
|
||||
%div
|
||||
%span Sign in with:
|
||||
- resource_class.omniauth_providers.each do |provider|
|
||||
%span
|
||||
= link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue