krunal/aadhar

View on GitHub
app/views/user_mailer/reset_email.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
  <head>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
  </head>
  <body>
    <center>
    <table width="580" cellspacing="0" cellpadding="0" border="0" style="font-family:arial,'lucida grande','lucida sans','lucida sans unicode',tahoma,verdana,sans-serif;background:#FFF;border:2px solid #eee;padding: 10px 0px;background-color:#fff;text-align:left;">
      <tr>
        <td valign="top" style="padding: 15px;font-size: 14px; color: #000000; background-color:#ffffff;">

          Hello <%= @user.name.titleize.strip %>,

          <p style="margin:20px 0px;">We recently received a request from you to reset your password on Oneclick.</p>
         
          <p style="margin:10px 0px;">Your new temporary password is: <b><%= @temp_password -%></b></p>
          <br/>
          
          <p  style="margin:20px 0px 10px 0px;">
            For security reasons, after you use the above password to sign in to Oneclick you will be required to set a new password.
          </p>
        </td>
      </tr>
      <tr>
       <td style="padding: 10px 15px 15px; font-size:16px;background:#fff;">
          <p style="margin:0px 0px;">
             <%=  "Thanks" %>,<br>
             The OneClick Team<br> 
          </p>
       </td>
      </tr>       
      
    </table>
</center>
  </body>
</html>