debian-mirror-gitlab/app/views/devise/sessions/_new_base.html.haml

13 lines
586 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
= f.text_field :login, class: "form-control top", placeholder: "Username or Email", autofocus: "autofocus"
= f.password_field :password, class: "form-control bottom", placeholder: "Password"
- if devise_mapping.rememberable?
2015-04-26 12:48:37 +05:30
.remember-me.checkbox
%label{for: "user_remember_me"}
2014-09-02 18:07:02 +05:30
= f.check_box :remember_me
%span Remember me
2015-04-26 12:48:37 +05:30
.pull-right
= link_to "Forgot your password?", new_password_path(resource_name)
2014-09-02 18:07:02 +05:30
%div
2015-04-26 12:48:37 +05:30
= f.submit "Sign in", class: "btn btn-save"