From 8b517ea5ac6301bd513c18632aa34ce91545dd95 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 25 Apr 2021 13:07:25 -0400 Subject: Adjust devise routes, views, and language --- app/views/devise/confirmations/new.html.erb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/views/devise/confirmations/new.html.erb (limited to 'app/views/devise/confirmations/new.html.erb') diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb new file mode 100644 index 0000000..b12dd0c --- /dev/null +++ b/app/views/devise/confirmations/new.html.erb @@ -0,0 +1,16 @@ +

Resend confirmation instructions

+ +<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> + <%= render "devise/shared/error_messages", resource: resource %> + +
+ <%= f.label :email %>
+ <%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> +
+ +
+ <%= f.submit "Resend confirmation instructions" %> +
+<% end %> + +<%= render "devise/shared/links" %> -- cgit v1.2.3