mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
b2e678ae1d
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.
12 lines
237 B
Scheme
Executable File
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 %>
|