[#325] Add support for a footer in layout.html.erb
This commit is contained in:
parent
1d7b64bbf7
commit
d80bf601e1
1 changed files with 12 additions and 0 deletions
|
@ -116,6 +116,18 @@
|
|||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<% if content_for?(:footer) %>
|
||||
<tr>
|
||||
<td style="word-wrap:break-word;font-size:0px;padding:0px 25px 0px 25px;padding-top:0px;padding-bottom:0px;" align="left">
|
||||
<p style="font-size:13px;text-align:left;">
|
||||
—
|
||||
</p>
|
||||
<p style="cursor:auto;color:#55575d;font-family:Helvetica, Arial, sans-serif;font-size:12px;font-weight:bold;line-height:22px;text-align:left;">
|
||||
<%= yield(:footer) %>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue