debug_email

Outputs the results of a variable in a debug statement specifically formatted for using in emails. Useful when developing form notification emails.

{{ form.fields|debug_email }}

{{ form.fields|debug_email('Form fields') }}

< Back to the list of filters