{%- block form_output -%}
{{- form_heading(form) -}} {{- form_data(form) -}}
{%- endblock form_output -%} {%- block textarea_output -%}
{{- form_heading(form) -}}
{{ data }}
    
{%- 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 -%}

{{- label -}}

{%- else -%}

{{- label -}}

{%- endif -%} {%- endif -%} {%- endblock form_heading -%} {%- block table_choice_data -%} {%- endblock table_choice_data -%} {%- block choice_data -%} {%- if expanded -%} {%- if multiple -%} {%- else -%} {{ data }} {%- endif -%} {%- else -%} {{ data }} {%- endif -%} {%- endblock choice_data -%} {%- block honeypot_output -%} {# do not output #} {%- endblock honeypot_output -%} {%- block __token_output -%} {# do not output #} {%- endblock __token_output -%}