2016-11-02 10:35:21 +00:00
|
|
|
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
|
2022-04-28 15:10:08 +00:00
|
|
|
.form-group.gl-px-5.gl-pt-5
|
2021-04-14 15:09:04 +00: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 }
|
2022-04-28 15:10:08 +00:00
|
|
|
.form-group.gl-px-5
|
2016-09-09 12:21:00 +00:00
|
|
|
= label_tag :password
|
2021-10-18 18:11:13 +00:00
|
|
|
= password_field_tag :password, nil, { autocomplete: 'current-password', class: "form-control bottom", title: _("This field is required."), required: true }
|
2015-08-31 10:59:52 +00:00
|
|
|
- if devise_mapping.rememberable?
|
2022-04-28 15:10:08 +00:00
|
|
|
.remember-me.gl-px-5
|
2016-12-26 10:47:16 +00:00
|
|
|
%label{ for: "remember_me" }
|
2015-08-31 10:59:52 +00:00
|
|
|
= check_box_tag :remember_me, '1', false, id: 'remember_me'
|
2021-04-14 15:09:04 +00:00
|
|
|
%span= _('Remember me')
|
2022-04-28 15:10:08 +00:00
|
|
|
= submit_tag _("Sign in"), class: "gl-button btn-confirm btn gl-px-5"
|