Improving all forms

This commit is contained in:
Eugen Rochko
2016-10-18 16:37:15 +02:00
parent 6f7c9774c7
commit 43df35213e
16 changed files with 268 additions and 267 deletions

View File

@ -1,12 +1,12 @@
- content_for :page_title do
Confirmation instructions
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
= devise_error_messages!
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
= render 'shared/error_messages', object: resource
= f.input :email, autofocus: true, required: true, placeholder: 'E-mail address'
.field
= f.email_field :email, autofocus: true, required: true, placeholder: 'E-mail address'
.actions
= f.button "Resend confirmation instructions", type: 'submit'
= f.button :button, "Resend confirmation instructions", type: :submit
.form-footer= render "auth/shared/links"