From 93f40f5a0314a05f052e13290d31898e8b1a82ff Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Thu, 25 Jan 2024 20:43:01 -0600 Subject: [PATCH] Fix & update resend confirmation view (#4277) --- app/views/devise/confirmations/new.html.erb | 24 +++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) 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" %> +