Refactored reminder layout stuff into layout view
This commit is contained in:
parent
23bf29d948
commit
4743cd48f9
@ -1,12 +1,4 @@
|
||||
|
||||
<container class="email-container">
|
||||
<row>
|
||||
<columns class="email-heading">
|
||||
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<row>
|
||||
<columns class="email-body">
|
||||
<p>Dear <strong><%= @candidate.name %></strong>,</p>
|
||||
<p>
|
||||
@ -21,38 +13,4 @@
|
||||
Your Test ID is: <strong><%= @candidate.test_hash %></strong>
|
||||
</p>
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<columns>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="email-copyright">
|
||||
©2016 All Rights Reserved - Perficient Digital
|
||||
</td>
|
||||
<td class="email-logo">
|
||||
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</columns>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<columns>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:6px;">
|
||||
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
<td style="background-color:#fef035; font-size:1px;">
|
||||
|
||||
</td>
|
||||
<td style="width:6px;">
|
||||
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</columns>
|
||||
</row>
|
||||
</container>
|
||||
</row>
|
||||
|
@ -3,16 +3,53 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
|
||||
<%= stylesheet_link_tag "mailers/foundation_vendor_manifest" %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table class="body" data-made-with-foundation>
|
||||
<table class="body" data-made-with-foundation="">
|
||||
<tr>
|
||||
<td class="center" align="center" valign="top">
|
||||
<center>
|
||||
<container class="email-container">
|
||||
<row>
|
||||
<columns class="email-heading">
|
||||
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
|
||||
</columns>
|
||||
</row>
|
||||
<%= yield %>
|
||||
<row>
|
||||
<columns>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="email-copyright">
|
||||
©2016 All Rights Reserved - Perficient Digital
|
||||
</td>
|
||||
<td class="email-logo">
|
||||
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</columns>
|
||||
</row>
|
||||
<row>
|
||||
<columns>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:6px;">
|
||||
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
<td style="background-color:#fef035; font-size:1px;">
|
||||
|
||||
</td>
|
||||
<td style="width:6px;">
|
||||
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</columns>
|
||||
</row>
|
||||
</container>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user