mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Add devise-bootstrap-views
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Welcome #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "You can confirm your account email through the link below:") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Confirm my account"),
|
||||
confirmation_url(@resource, :confirmation_token => @token, locale: I18n.locale) %></p>
|
||||
@@ -0,0 +1,8 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "Someone has requested a link to change your password, and you can do this through the link below.") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Change my password"), edit_password_url(@resource, :reset_password_token => @token, locale: I18n.locale) %></p>
|
||||
|
||||
<p><%= t('.instruction_2', :default => "If you didn't request this, please ignore this email.") %></p>
|
||||
<p><%= t('.instruction_3', :default => "Your password won't change until you access the link above and create a new one.") %></p>
|
||||
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
7
app/views/devise/mailer/unlock_instructions.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<p><%= t('.greeting', :recipient => @resource.email, :default => "Hello #{@resource.email}!") %></p>
|
||||
|
||||
<p><%= t('.message', :default => "Your account has been locked due to an excessive amount of unsuccessful sign in attempts.") %></p>
|
||||
|
||||
<p><%= t('.instruction', :default => "Click the link below to unlock your account:") %></p>
|
||||
|
||||
<p><%= link_to t('.action', :default => "Unlock my account"), unlock_url(@resource, :unlock_token => @resource.unlock_token, locale: I18n.locale) %></p>
|
||||
Reference in New Issue
Block a user