silverstripe-userforms/templates/email/SubmittedFormEmail.ss
Stephen Shkardoon b2e678ae1d Remove title from email template
If this is here, there's no way for us to generate an email that's not horribly ugly (short of custom CSS / templates).

This allows users of the standard module to decide *exactly* what content goes into an email without dealing with forking/customizing the code.

This will be a minor BC break.
2013-07-17 12:36:12 +12:00

12 lines
237 B
Scheme
Executable File

$Body
<% if HideFormData %>
<% else %>
<dl>
<% loop Fields %>
<dt><strong><% if Title %>$Title<% else %>$Name<% end_if %></strong></dt>
<dd style="margin: 4px 0 14px 0">$FormattedValue</dd>
<% end_loop %>
</dl>
<% end_if %>