2016-09-29 09:58:43 +00:00
|
|
|
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'show-gl-field-errors') do
|
2016-09-09 12:21:00 +00:00
|
|
|
.form-group
|
|
|
|
= label_tag 'Username or email', for: :username
|
|
|
|
= 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 10:59:52 +00:00
|
|
|
- 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-03-20 19:01:46 +00:00
|
|
|
= button_tag "Sign in", class: "btn-save btn"
|