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

17 lines
935 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
= form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: 'new_user gl-show-field-errors', 'aria-live' => 'assertive'}) do |f|
.form-group
2017-09-10 17:25:29 +05:30
= f.label "Username or email", for: "user_login"
2016-11-03 12:29:30 +05:30
= f.text_field :login, class: "form-control top", autofocus: "autofocus", autocapitalize: "off", autocorrect: "off", required: true, title: "This field is required."
2017-08-17 22:00:37 +05:30
.form-group
2016-11-03 12:29:30 +05:30
= f.label :password
= f.password_field :password, class: "form-control bottom", required: true, title: "This field is required."
2014-09-02 18:07:02 +05:30
- if devise_mapping.rememberable?
2015-04-26 12:48:37 +05:30
.remember-me.checkbox
2017-08-17 22:00:37 +05:30
%label{ for: "user_remember_me" }
= f.check_box :remember_me, class: 'remember-me-checkbox'
2014-09-02 18:07:02 +05:30
%span Remember me
2017-08-17 22:00:37 +05:30
.pull-right.forgot-password
2015-04-26 12:48:37 +05:30
= link_to "Forgot your password?", new_password_path(resource_name)
2017-08-17 22:00:37 +05:30
.submit-container.move-submit-down
= f.submit "Sign in", class: "btn btn-save"