tweak form display in dropdown
This commit is contained in:
parent
2e62aaf0c8
commit
640d33f187
1 changed files with 8 additions and 7 deletions
|
|
@ -54,13 +54,14 @@
|
||||||
= password_field_tag 'password', nil, id: 'user_ichain_password_dd', class: 'form-control', placeholder: 'Password'
|
= password_field_tag 'password', nil, id: 'user_ichain_password_dd', class: 'form-control', placeholder: 'Password'
|
||||||
%button.btn.btn-success.btn-block Sign in
|
%button.btn.btn-success.btn-block Sign in
|
||||||
- else
|
- else
|
||||||
= form_tag new_user_session_path do
|
.container.panel
|
||||||
= text_field_tag 'user[login]', nil, id: 'user_login_dd', class: 'form-control', placeholder: 'Username / E-Mail'
|
= form_tag new_user_session_path do
|
||||||
= password_field_tag 'user[password]', nil, id: 'user_password_dd', class: 'form-control', placeholder: 'Password'
|
= text_field_tag 'user[login]', nil, id: 'user_login_dd', class: 'form-control', placeholder: 'Username / E-Mail'
|
||||||
%p.text-right
|
= password_field_tag 'user[password]', nil, id: 'user_password_dd', class: 'form-control', placeholder: 'Password'
|
||||||
%small
|
%p.text-right
|
||||||
%label{for: 'user_remember_me'} Remember me
|
%small
|
||||||
= check_box_tag 'user[remember_me]'
|
%label{for: 'user_remember_me'} Remember me
|
||||||
|
= check_box_tag 'user[remember_me]'
|
||||||
%br
|
%br
|
||||||
%button.btn.btn-success.btn-block Sign in
|
%button.btn.btn-success.btn-block Sign in
|
||||||
- unless omniauth_configured.empty?
|
- unless omniauth_configured.empty?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue