{% extends 'layout.html.twig' %} {% block content %} {% if (not error and not success) or editmode %} {{ include('Includes/content-default.html.twig') }} {% endif %} {% if error or editmode %}
{{ pimcore_input('errorMessage') }}
{% endif %} {% if not success %} {# We created a custom form theme, where we override the parts we want to change with bootstrap markup. See: * http://symfony.com/doc/current/form/form_customization.html and * http://symfony.com/doc/current/form/rendering.html * http://symfony.com/doc/current/form/form_themes.html #} {% form_theme form 'Form/default.html.twig' %} {{ form_start(form, { attr: { class: 'form-horizontal', role: 'form' } }) }} {# call form_row() for normal inputs #} {{ form_row(form.gender) }} {{ form_row(form.firstname) }} {{ form_row(form.lastname) }} {{ form_row(form.email) }} {{ form_row(form.message) }} {# render checkbox manually as we need custom markup #}

{{ 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 %}