{% extends 'layout.html.twig' %} {% block content %} {{ include('Includes/content-default.html.twig') }} {% if not success %} {% if submitted %}
{{ "Sorry, something went wrong, please check the data in the form and try again!"|trans }}. {% if error is defined %}
{{ error }} {% endif %}


{% endif %} {# 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.gender) }} {{ form_row(form.firstname) }} {{ form_row(form.lastname) }} {{ form_row(form.email) }}
{{ form_widget(form.submit, { attr: { class: 'btn btn-default' } }) }}
{{ form_end(form) }} {% else %}
{{ "Success, Please check your mailbox!"|trans }}
{% endif %} {% endblock %}