{% extends 'layout.html.twig' %} {% block content %} {{ include('Includes/content-default.html.twig') }} {% if not success %} {# see comment on 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.gender) }} {{ form_row(form.firstname) }} {{ form_row(form.lastname) }} {{ form_row(form.email) }}

{{ "Click one of the following logos to auto-fill the form with your data"|trans }}

{{ form.message.vars['label'] }}

{{ form_widget(form.message, { attr: { style: 'height: 300px', class: 'form-control' } }) }}

{{ form_widget(form.submit, { attr: { class: 'btn btn-default' } }) }}
{{ form_end(form) }} {% else %}

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

We received the following information from you:

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

{% endif %} {% endblock %}