diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index cb4fdbc6c..3171d80e4 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,14 +1,20 @@ -
-

Resend confirmation instructions

+
+
+

Resend confirmation email

- <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: "form" }) do |f| %> - <%= devise_error_messages! %> + <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: "form" }) do |f| %> + <%= render "devise/shared/error_messages", resource: resource %> - + -
<%= f.submit "Resend confirmation instructions" %>
- <% end %> +
<%= f.submit "Submit" %>
+ <% end %> +
- <%= render "devise/shared/links" %> +