Improve devise views

This commit is contained in:
Dmitriy Zaporozhets 2013-02-07 13:20:33 +02:00
parent 210e9cd489
commit 66121d6caa
4 changed files with 20 additions and 21 deletions

View file

@ -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)