{% extends 'base.html.twig' %}
{% set assets = boldr_cms_get_assets() %}
{% do assets.addCssFile('/bundles/boldrjobs/page.css') %}
{% block title %}{{ jobOffer.title }}{% endblock %}
{% block body %}
<div class="boldr-job-offer">
{{ block('job_offer') }}
</div>
{% endblock %}
{% block job_offer %}
{% block header %}
{% include '@BoldrCms/section/_heading.html.twig' with {
style: boldr_cms_get_default_heading_style(),
heading: jobOffer.title,
subheading: null
} %}
{% endblock %}
{% block description %}
{{ jobOffer.description|raw }}
{% endblock %}
{% block requirements %}
{% if jobOffer.requirements|length > 0 %}
<h2>Functievereisten</h2>
<ul>
{% for requirement in jobOffer.requirements %}
<li>{{ requirement }}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block apply %}
{% if boldr_site_options_get('job_application_email') %}
<a href="mailto:{{ boldr_site_options_get('job_application_email') }}" class="boldr-jobs-apply boldr-button {{ boldr_cms_get_button_style_class(boldr_cms_get_primary_button_style()) }}">
Solliciteer direct
</a>
{% endif %}
{% endblock %}
{% if boldr_site_options_get('job_offers_page') %}
<a href="{{ boldr_cms_get_permalink(boldr_site_options_get('job_offers_page')) }}" class="boldr-jobs-apply boldr-button {{ boldr_cms_get_button_style_class(boldr_cms_get_secondary_button_style()) }}">
Terug naar vacatures
</a>
{% endif %}
{% endblock %}