59 lines
2.1 KiB
Twig
59 lines
2.1 KiB
Twig
|
{% extends 'base.html.twig' %}
|
||
|
{% block title %}Get in touch{% endblock title %}
|
||
|
{% block body %}
|
||
|
<h2 class="uk-text-center">Get in touch</h2>
|
||
|
<p class="uk-margin-small uk-text-center uk-text-lead">
|
||
|
We'd LOVE to hear from you! Send us your wishes, thoughts, advice or questions.
|
||
|
</p>
|
||
|
{% if(form is defined) %}
|
||
|
{{ form_errors(form) }}
|
||
|
{{ form_start(form) }}
|
||
|
{{ form_label(form.name) }}
|
||
|
<div class="uk-form-controls uk-form-controls-text">
|
||
|
{{ form_errors(form.name) }}
|
||
|
{{ form_widget(form.name) }}
|
||
|
</div>
|
||
|
{{ form_label(form.email) }}
|
||
|
<div class="uk-form-controls uk-form-controls-text">
|
||
|
{{ form_errors(form.email) }}
|
||
|
{{ form_widget(form.email) }}
|
||
|
</div>
|
||
|
{{ form_label(form.subject) }}
|
||
|
|
||
|
<div class="uk-form-controls uk-form-controls-text">
|
||
|
{{ form_errors(form.subject) }}
|
||
|
{{ form_widget(form.subject) }}
|
||
|
</div>
|
||
|
{{ form_label(form.comment) }}
|
||
|
|
||
|
<div class="uk-form-controls uk-form-controls-text">
|
||
|
{{ form_errors(form.comment) }}
|
||
|
{{ form_widget(form.comment) }}
|
||
|
</div>
|
||
|
<div class="uk-width-1-2@m uk-width-1-1@s">
|
||
|
{{ form_widget(form.submit) }}
|
||
|
</div>
|
||
|
{{ form_rest(form) }}
|
||
|
{{ form_end(form) }}
|
||
|
{% else %}
|
||
|
<div class="uk-width-1-1 uk-text-center">
|
||
|
<p class="uk-text-lead">
|
||
|
{{ message|first }}
|
||
|
</p>
|
||
|
{% if message|length > 1 %}
|
||
|
<p class="uk-text-center">{{ message|last }}</p>
|
||
|
{% endif %}
|
||
|
<p class="uk-text-center">
|
||
|
<a class="uk-button uk-button-primary uk-button-large" href="{{ path('sikofitt_doughnutwedding_default_index') }}" title="Home">
|
||
|
Go to the home page
|
||
|
</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
<p class="uk-text-lead uk-text-center">
|
||
|
#doughnutwedding
|
||
|
</p>
|
||
|
<p class="uk-text-center">
|
||
|
Follow us on Instagram and Facebook for wedding updates!
|
||
|
</p>
|
||
|
{% endblock %}
|