Improving all forms
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
- content_for :page_title do
|
||||
Log in
|
||||
|
||||
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
.field
|
||||
= f.email_field :email, autofocus: true, placeholder: 'E-mail address', required: true
|
||||
.field
|
||||
= f.password_field :password, autocomplete: "off", placeholder: 'Password', required: true
|
||||
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
= f.input :email, autofocus: true, placeholder: 'E-mail address', required: true
|
||||
= f.input :password, placeholder: 'Password', required: true
|
||||
|
||||
.actions
|
||||
= f.button "Log in", type: 'submit'
|
||||
= f.button :button, "Log in", type: :submit
|
||||
|
||||
.form-footer= render "auth/shared/links"
|
||||
|
Reference in New Issue
Block a user