@ -3,9 +3,6 @@
|
||||
%>
|
||||
|
||||
<h1>Password Reset</h1>
|
||||
|
||||
<%= raw(ap User.find_by(email: 'alan.admin@mailinator.com')) %>
|
||||
|
||||
<%= form_for :auth, url: admin_send_reset_path do |form| %>
|
||||
|
||||
<div class="form-group">
|
||||
|
13
app/views/user_mailer/password_reset.html.inky
Normal file
13
app/views/user_mailer/password_reset.html.inky
Normal file
@ -0,0 +1,13 @@
|
||||
<row>
|
||||
<columns class="email-body">
|
||||
<p>Hey there <%= @user.name %>,</p>
|
||||
<p>
|
||||
It looks like you want to reset your password?
|
||||
If not, it is safe to ignore this email.
|
||||
Otherwise go to the following link to enter a new password.
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to nil, admin_reset_url(reset_token: @user.reset_token) %>.
|
||||
</p>
|
||||
</columns>
|
||||
</row>
|
7
app/views/user_mailer/password_reset.text.erb
Normal file
7
app/views/user_mailer/password_reset.text.erb
Normal file
@ -0,0 +1,7 @@
|
||||
Hey there <%= @user.name %>,
|
||||
|
||||
It looks like you want to reset your password?
|
||||
If not, it is safe to ignore this email.
|
||||
Otherwise go to the following link to enter a new password:
|
||||
|
||||
<%= admin_reset_url(reset_token: @user.reset_token) %>
|
15
app/views/user_mailer/welcome.html.inky
Normal file
15
app/views/user_mailer/welcome.html.inky
Normal file
@ -0,0 +1,15 @@
|
||||
<row>
|
||||
<columns class="email-body">
|
||||
<p>Hey there <%= @user.name %>,</p>
|
||||
<p>
|
||||
Looks like you now have access to the skills assessment app.
|
||||
We've given you a temporary password below. Please sign in an personalize it asap.
|
||||
</p>
|
||||
<p>
|
||||
Password: <%= @password%>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to nil, admin_url %>.
|
||||
</p>
|
||||
</columns>
|
||||
</row>
|
8
app/views/user_mailer/welcome.text.erb
Normal file
8
app/views/user_mailer/welcome.text.erb
Normal file
@ -0,0 +1,8 @@
|
||||
Hey there <%= @user.name %>,
|
||||
|
||||
Looks like you now have access to the skills assessment app.
|
||||
We've given you a temporary password below. Please sign in an personalize it asap.
|
||||
|
||||
Password: <%= @password %>
|
||||
|
||||
<%= admin_url %>.
|
Reference in New Issue
Block a user