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

14 lines
708 B
Text
Raw Normal View History

2016-11-03 12:29:30 +05:30
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'show-gl-field-errors') do
.form-group
= 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-09-25 12:07:36 +05:30
- if devise_mapping.rememberable?
.remember-me.checkbox
%label{for: "remember_me"}
= check_box_tag :remember_me, '1', false, id: 'remember_me'
%span Remember me
2016-11-03 12:29:30 +05:30
= submit_tag "Sign in", class: "btn-save btn"