Generate Devise scoped views

bin/rails generate devise:views users
This commit is contained in:
2023-04-05 23:40:31 +02:00
parent 155bf716e5
commit 201cb109d8
14 changed files with 241 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<p>Hello <%= @email %>!</p>
<% if @resource.try(:unconfirmed_email?) %>
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
<% end %>