{% extends "front/layouts/default.twig" %}
{% block content %}
{% set arrayOfferts = { pl:'oferta', en:'offer' } %}
{% include 'front/main_page/includes/main_page_offer_search.twig' with { main_page_search } %}
{% set arrayOffer = {pl:'oferta',en:'offer'} %}
<div class="container mt-2">
<div class="row justify-content-center">
<div class="col-12">
<div class="row align-items-center">
<div class="col-lg-12 job px-lg-0">
<span class="industry">
{% if app.request.locale == 'pl' %}
<h1>{{ link.namePL != '' ? link.namePL|default('brak') : link.nameEN|default('empty') }}</h1>
{% endif %}
{% if app.request.locale == 'en' %}
<h1>{{ link.nameEN != '' ? link.nameEN|default('empty') : link.namePL|default('brak')}}</h1>
{% endif %}
</span>
</div>
<div class="row mt-3">
<div class="col-lg-12">
{% if app.request.locale == 'pl' %}
{{ link.contentPL != '' ? link.contentPL|raw : link.contentEN|raw }}
{% endif %}
{% if app.request.locale == 'en' %}
{{ link.contentEN != '' ? link.contentEN|raw : link.contentPL|raw }}
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block script %}
{{ parent() }}
{% include 'front/main_page/includes/js/main_page_js.twig' %}
{% endblock %}