ubicloud/views/email/button.erb
Jeremy Evans 750ebdc055 Change from erb_formatter to herb/formatter
Currently, herb/formatter has at least 4 bugs the prevent us from
switching to it (https://github.com/marcoroth/herb/issues 476, 477,
478, and 479). This includes manual fixes for each issue.

herb/formatter also introduces a rubocop violation for the
Layout/AssignmentIndentation cop. This disables that cop.
2025-09-05 14:01:01 -07:00

48 lines
1,013 B
Text

<%# locals: (title:, link:) %>
<table
class="action"
align="center"
width="100%"
cellpadding="0"
cellspacing="0"
role="presentation"
>
<tr>
<td align="center">
<table
width="100%"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
>
<tr>
<td align="center">
<table
width="100%"
border="0"
cellpadding="0"
cellspacing="0"
role="presentation"
>
<tr>
<td>
<a
href="<%= link %>"
class="button button-primary"
target="_blank"
rel="noopener"
style="color: #FFFFFF"
>
<%= title %>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>