{% for field in form.fields %} {{ field.name }}: {{ string(form.value(field.name)|e|nl2br)|replace({"\n":' ', "\r":' '}) }} {% endfor %}