<!-- Error rendering component -->
<!-- TwigException: Unable to parse '=> "data-#{k}=#{v}")|join(' ') ~ ' ' : ''' at template position71 -->
<!-- Error: TwigException: Unable to parse '=> "data-#{k}=#{v}")|join(' ') ~ ' ' : ''' at template position71
at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
at new Promise (<anonymous>)
at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
at _renderVariant.next (<anonymous>)
at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{# @var country_accordion ThemeViews\Organisms\countryAccordion\CountryAccordionViewModel #}
{% extends '@atoms/section/section.twig' %}
{% set className = "country-accordion" %}
{% set index = 0 %}
{% set maxItems = 100 %}
{% block content %}
{% for cityName, city in country_accordion.cities.items %}
{% if index < maxItems %}
<button class="py-1.5 block w-full text-left border-t border-t-lighter"
data-country="{{ country_accordion.country_slug }}" data-city="{{ city.slug }}">
<span class="headline headline--m">{{ cityName }}</span> <span class="font-teko-light">[{{ city.count }}]</span>
</button>
<div
data-vue="country-accordion"
data-country="{{ country_accordion.country_slug }}"
data-city="{{ city.slug }}"
></div>
{% set index = index + 1 %}
{% endif %}
{% endfor %}
{% if country_accordion.cities.total > maxItems and country_accordion.cities.hasMore %}
<div data-vue="country-accordion-list"
data-initial-offset="{{ maxItems }}"
data-country="{{ country_accordion.country_slug }}"
></div>
{% endif %}
{% endblock %}
/* No context defined. */
{% include '@organisms/country_accordion/country_accordion.twig' with {
} only %}Fields