{%- endblock textarea_output -%}
{# {%- block text_data -%}
{%- if data is not empty -%}
{{ data|raw }}
{%- endif -%}
{%- endblock text_data -%} #}
{%- block date_data -%}
{%- if data is not empty -%}
{{ data|date(format|default('d-m-Y')) }}
{%- endif -%}
{%- endblock date_data -%}
{%- block time_data -%}
{%- if data is not empty -%}
{{ data|date(format|default('H:i')) }}
{%- endif -%}
{%- endblock time_data -%}
{%- block checkbox_data -%}
{%- if data -%}
True
{%- else -%}
False
{%- endif -%}
{%- endblock checkbox_data -%}
{%- block form_data -%}
{%- if compound -%}
{%- for child in form -%}
{{ form_output(child) }}
{%- endfor -%}
{%- else -%}
{# by default, form field data values are to have all tags stripped, but not encoded since values are
to be used in emails #}
{{- data|striptags|raw -}}
{%- endif -%}
{%- endblock form_data -%}
{%- block form_heading -%}
{%- if form is not rootform -%}
{%- if label is empty -%}
{%- set label = name|humanize -%}
{%- endif -%}
{%- if form.parent is not rootform -%}