47 lines
1.7 KiB
Twig
47 lines
1.7 KiB
Twig
|
{% if renderPdf == false %}
|
||
|
<div id="contact-form-wrapper" class="uk-modal">
|
||
|
<div class="uk-modal-dialog uk-modal-dialog-blank">
|
||
|
<button class="uk-modal-close uk-close" type="button"></button>
|
||
|
|
||
|
<div class="uk-grid uk-flex-center uk-grid-divider uk-flex-middle uk-height-viewport uk-cover-background">
|
||
|
|
||
|
<div class="uk-width-small-1-1 uk-width-large-1-2" id="contact-form">
|
||
|
<div class="uk-container uk-container-center">
|
||
|
{{ form_start(contact_form) }}
|
||
|
|
||
|
<fieldset data-uk-margin>
|
||
|
<legend>Contact {% if basics.email is not empty %}
|
||
|
<small class="uk-align-right">{{ basics.email }}</small>{% endif %}</legend>
|
||
|
<div class="uk-form-row">
|
||
|
{{ form_label(contact_form.name) }}
|
||
|
<div class="uk-form-controls">
|
||
|
{{ form_widget(contact_form.name) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="uk-form-row">
|
||
|
{{ form_label(contact_form.email) }}
|
||
|
<div class="uk-form-controls">
|
||
|
{{ form_widget(contact_form.email) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="uk-form-row">
|
||
|
{{ form_label(contact_form.message|raw) }}
|
||
|
<div class="uk-form-controls">
|
||
|
{{ form_widget(contact_form.message) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="uk-form-row">
|
||
|
{{ form_label(contact_form.submit) }}
|
||
|
<div class="uk-form-controls">
|
||
|
{{ form_widget(contact_form.submit) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ form_rest(contact_form) }}
|
||
|
</fieldset>
|
||
|
{{ form_end(contact_form) }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endif %}
|