gitlab-org--gitlab-foss/app/views/devise/sessions/_new_crowd.html.haml

14 lines
702 B
Text
Raw Normal View History

= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
.form-group
2016-10-18 06:46:37 -04:00
= label_tag :username, 'Username or email'
= text_field_tag :username, nil, { class: "form-control top", title: "This field is required", autofocus: "autofocus", required: true }
.form-group
= label_tag :password
= password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", required: true }
2015-08-31 06:59:52 -04:00
- if devise_mapping.rememberable?
2018-04-16 11:48:14 -04:00
.remember-me
%label{ for: "remember_me" }
2015-08-31 06:59:52 -04:00
= check_box_tag :remember_me, '1', false, id: 'remember_me'
%span Remember me
2016-10-18 06:46:37 -04:00
= submit_tag "Sign in", class: "btn-save btn"