2017-08-17 22:00:37 +05:30
|
|
|
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
|
2022-07-16 23:28:13 +05:30
|
|
|
.form-group.gl-px-5.gl-pt-5
|
2021-04-29 21:17:54 +05:30
|
|
|
= 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-07-16 23:28:13 +05:30
|
|
|
.form-group.gl-px-5
|
2016-11-03 12:29:30 +05:30
|
|
|
= label_tag :password
|
2023-07-09 08:55:56 +05:30
|
|
|
= password_field_tag :password, nil, { class: 'form-control gl-form-input js-password', data: { id: 'password', name: 'password' } }
|
|
|
|
- if remember_me_enabled?
|
2022-07-16 23:28:13 +05:30
|
|
|
.remember-me.gl-px-5
|
2017-08-17 22:00:37 +05:30
|
|
|
%label{ for: "remember_me" }
|
2015-09-25 12:07:36 +05:30
|
|
|
= check_box_tag :remember_me, '1', false, id: 'remember_me'
|
2021-04-29 21:17:54 +05:30
|
|
|
%span= _('Remember me')
|
2022-07-16 23:28:13 +05:30
|
|
|
= submit_tag _("Sign in"), class: "gl-button btn-confirm btn gl-px-5"
|