{% extends 'layout.html.twig' %} {% block content %} {{ include('Includes/content-default.html.twig') }} {% if success %}

{{ 'Thank you very much'|trans }}

We received the following information from you:

Firstname: {{ firstname }}
Lastname: {{ lastname }}
E-Mail: {{ email }}

{% else %} {# see comment on advanced/objectForm template regarding the form theme #} {% form_theme form 'Form/default.html.twig' %} {{ form_start(form, { attr: { class: 'form-horizontal', role: 'form' } }) }} {{ form_row(form.firstname) }} {{ form_row(form.lastname) }} {{ form_row(form.email) }} {# render checkbox manually as we need custom markup #}
{{ form_widget(form.submit, { attr: { class: 'btn btn-default' } }) }}
{{ form_end(form) }} {% endif %} {% endblock %}