stubs/default/app/views/layouts/mailer.html.erb in kaze-0.2.0 vs stubs/default/app/views/layouts/mailer.html.erb in kaze-0.3.0
- old
+ new
@@ -338,16 +338,18 @@
<tr>
<td class="content-cell">
<%= yield %>
<!-- Subcopy -->
+<% if content_for?(:subcopy) %>
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
-<%= yield(:subcopy) %>
+<%= yield :subcopy %>
</td>
</tr>
</table>
+<% end %>
</td>
</tr>
</table>
</td>