silverstripe-userforms/templates/email/SubmittedFormEmail.ss
Robbie Averill e1a7030306 FIX Submitted form field data is rendered correctly in recipient email templates
Also remove some deprecated code from UserDefinedFormControllerTest and allow
simple or starter theme to be used in the test.
2018-01-25 16:17:28 +13:00

12 lines
318 B
Scheme
Executable File

<%-- Note: content is already escaped in UserDefinedFormController::process --%>
$Body.RAW
<% if not $HideFormData %>
<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 %>