<!-- 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 match_participants ThemeViews\Organisms\matchParticipants\MatchParticipantsViewModel #}
{% extends '@atoms/section/section.twig' %}
{% set className = "match-participants" %}
{% set hidden = match_participants.match.finished != true or (match_participants.match.roster.home|length == 0 or match_participants.match.roster.away|length == 0) %}
{% block content %}
    {% include '@atoms/headline/headline.twig' with {
        headline: t('Teilnehmer:innen'),
        type: 'h2',
        ignoreTypeMap: true,
        className: 'headline--m mb-1.5'
    }%}
    <ul class="list-none ml-0 pl-0 flex ">
        <li>
            <input type="radio" name="tab" id="tab_home" value="home" checked>
            <label for="tab_home">{{ t('Home') }}</label>
        </li>
        <li>
            <input type="radio" name="tab" id="tab_away" value="away">
            <label for="tab_away">{{ t('Away') }}</label>
        </li>
    </ul>
    <div id="tab_home_content" class="tab show">
        {% include '@molecules/genericTeaserList/generic_teaser_list.twig' with {
            generic_teaser_list: {
                teasers: match_participants.match.roster.home
            }
        } %}
    </div>
    <div id="tab_away_content" class="tab hidden">
        {% include '@molecules/genericTeaserList/generic_teaser_list.twig' with {
            generic_teaser_list: {
                teasers: match_participants.match.roster.away
            }
        } %}
    </div>
{% endblock %}
/* No context defined. */
  • Handle: @match_participants
  • Preview:
  • Filesystem Path: resources/Views/Organisms/matchParticipants/match_participants.twig

Match participants

{% include '@organisms/match_participants/match_participants.twig' with {

    } only %}

ACF

Fields player -> molecule

headline -> atom