Files
nairobi/app/views/mailer/budget_investment_unfeasible.html.erb
Javi Martín 1a098dfcab Add and apply MultilineMethodCallBraceLayout rule
In order for this rule to work effectively when running `--autocorrect`,
we also need to enable the `ClosingParenthesisIndentation` rule.
2023-08-18 14:56:16 +02:00

35 lines
977 B
Plaintext

<td style="<%= css_for_mailer_content %>">
<h1 style="<%= css_for_mailer_heading %>">
<%= t("mailers.budget_investment_unfeasible.title") %>
</h1>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_unfeasible.hi") %>
</p>
<p style="<%= css_for_mailer_text + css_for_mailer_quote %>">
<%= @investment.unfeasibility_explanation %>
</p>
<p style="<%= css_for_mailer_text %>">
<%= sanitize(
t(
"mailers.budget_investment_unfeasible.new",
url: link_to(t("mailers.budget_investment_unfeasible.new_href"),
new_budget_investment_url(@investment.budget),
style: css_for_mailer_link)
),
attributes: %w[href style]
) %>
</p>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_unfeasible.sorry") %>
</p>
<p style="<%= css_for_mailer_text %>">
<%= t("mailers.budget_investment_unfeasible.sincerely") %>
</p>
</td>