2016-09-13 17:45:13 +05:30
|
|
|
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user' ) do
|
2015-09-25 12:07:36 +05:30
|
|
|
= text_field_tag :username, nil, {class: "form-control top", placeholder: "Username", autofocus: "autofocus"}
|
|
|
|
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
|
|
|
|
- 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-06-02 11:05:42 +05:30
|
|
|
= button_tag "Sign in", class: "btn-save btn"
|