Files
Alvand-P/config/mailer/templates/password_reset.en.html.erb
2026-08-13 19:42:08 +03:30

98 lines
3.6 KiB
Plaintext

<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
<tr>
<td>&nbsp;</td>
<td class="container">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="text-align: center">
<%= image_tag @logo, alt: 'Company Logo', class: 'logo-img' %>
</td>
</tr>
</table>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="container">
<div class="content">
<table role="presentation" class="main">
<!-- START MAIN CONTENT AREA -->
<tr>
<td class="wrapper">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<br />
<p class="title">Hello!</p>
<p class="text">
Use this code or one-time link to reset your password for email <%= @user.email %>
</p>
<br /><br /><br />
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
<tbody>
<tr>
<td align="left">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<span><%= @record.code %></span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br />
<% if @record.token.present? %>
<p class="text">
Or use this one-time link to reset your password:
</p>
<br />
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
<tbody>
<tr>
<td align="left">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<a href="<%= @record.domain %>/accounts/password_reset?reset_token=<%= @record.token %>&lang=en">Reset password</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<% end %>
<br /><br />
</td>
</tr>
</table>
</td>
</tr>
<!-- END MAIN CONTENT AREA -->
</table>
</div>
<!-- START FOOTER -->
<div class="footer">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="content-block">
<span>FIBITEX TECHNOLOGIES INC.</span>
<br><span>Vancouver, Canada</span>
<br><a href="<%= @record.domain %>"><%= @record.domain %></a>
</td>
</tr>
</table>
</div>
<!-- END FOOTER -->
</td>
<td>&nbsp;</td>
</tr>
</table>