{% extends 'frontend/front-end-base.html.twig' %} {% block title %} {{ page_title|default('Region Countries')|raw|striptags }} {% endblock %} {% block body %} {% embed "frontend/panel/content-page-title.html.twig" %} {% block pageTitle %} {{ page_title|default('Region Countries') }} {% endblock %} {% block bannerImage %} {% set imagePath = asset('build/images/newsletter.png') %} {% if region is not null and region.bannerImagePath is not null %} {% set imagePath = asset(imageDirectory ~ region.bannerImagePath) %} {% endif %} background: url('{{ imagePath }}') top center no-repeat; background-size: cover; {% endblock %} {% block headerFontClass %} text-white {% endblock %} {% endembed %}
{% if activeRegions is defined and activeRegions|length > 0 %} {% for activeRegion in activeRegions %} {% set activeClass = '' %} {% if region.id is same as(activeRegion.id) %} {% set activeClass = 'active' %} {% endif %} {% endfor %} {% endif %}
{% if regionCountries is not null and regionCountries|length > 0 %}
{% for regionCountry in regionCountries %} {% set pageImage = asset('build/images/undraw_svg_2.svg') %} {% if regionCountry.imagePath is not null %} {% set pageImage = imageDirectory~regionCountry.imagePath %} {% endif %}
Thumbnail image for: {{ regionCountry.name }}

{{ regionCountry.name }}

{{ regionCountry.description|default('')|raw|striptags }}
{% endfor %}
{% else %}

Looks like all region countries have either been hidden, or haven't been created yet. Please try again later

{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}