diff options
Diffstat (limited to 'app/views/auth/confirmations')
-rw-r--r-- | app/views/auth/confirmations/new.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml index e287f1528..fb1019def 100644 --- a/app/views/auth/confirmations/new.html.haml +++ b/app/views/auth/confirmations/new.html.haml @@ -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" |