mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
Retire semantic_form_for
Also a buttload of form cleanups...
This commit is contained in:
parent
350b1ebbbe
commit
81853d1ef9
136 changed files with 1825 additions and 1441 deletions
15
app/views/devise/sessions/_form_fields.html.haml
Normal file
15
app/views/devise/sessions/_form_fields.html.haml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
.form-group
|
||||
= f.label :login, "Username"
|
||||
%abbr{title: 'This field is required'} *
|
||||
= f.text_field :login, autofocus: true, required: true, class: 'form-control', placeholder: 'Username'
|
||||
.form-group
|
||||
= f.label :password, "Password"
|
||||
%abbr{title: 'This field is required'} *
|
||||
= f.password_field :password, required: true, class: 'form-control', placeholder: 'Password'
|
||||
- if devise_mapping.rememberable?
|
||||
%p.text-right.small
|
||||
= f.label 'Remember me'
|
||||
= f.check_box :remember_me
|
||||
%p.text-right
|
||||
%button{type: 'submit', class: 'btn btn-success'}
|
||||
Sign In
|
||||
Loading…
Add table
Add a link
Reference in a new issue