discourse/app/views/layouts/email_template.html.erb
2020-05-21 14:49:06 -04:00

10 lines
249 B
Plaintext

<% if @disable_email_custom_styles %>
<%= yield %>
<% if defined?(html_body) %><%= html_body %><% end %>
<% else %>
<%= email_html_template do %>
<%= yield %>
<% if defined?(html_body) %><%= html_body %><% end %>
<% end %>
<% end %>