{% form_theme form _self %}
<div class="modal fade" data-component="ShowFileInput" id="vacancyApplyModal" tabindex="-1" role="dialog" aria-labelledby="vacancyApplyModal"
aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
{% if vacancy is defined %}
<h2 class="modal-title">{{ 'Apply for'|trans }} "{{ vacancy.title }}"</h2>
{% else %}
<h2 class="modal-title">{{ 'Open application'|trans }}</h2>
{% endif %}
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><a class="fal fa-times"></a></span>
</button>
</div>
{{ form_start(form) }}
<div class="modal-body">
{{ form_widget(form) }}
</div>
<div class="modal-footer button-set h-align h-align-center">
<button class="is-btn is-background-color-accent" type="submit" id="submit_btn">{{ 'Send'|trans }}</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>