{% extends "views/formation_base.twig" %} {% block formation_setup %}

{{ env.getFormattedDatetime(next_match.match_date) }} | {{ i18n.getMessage("matchtype_" ~ next_match.match_type) }}

{{ next_match.match_home_name }} - {{ next_match.match_guest_name }}

{{ i18n.getMessage("next_match_block_previous_matches") }}

{% if previous_matches is defined and previous_matches|length > 0 %} {% for previousMatch in previous_matches %} {% endfor %}
{{ previousMatch.home_team }} - {{ previousMatch.guest_team }} {{ previousMatch.home_goals }} - {{ previousMatch.guest_goals }}
{% else %}

{{ i18n.getMessage("next_match_block_no_previous_matches") }}

{% endif %}

{{ i18n.getMessage("formation_setup_title") }}

- - - - -
{% if env.getConfig("hide_strength_attributes") != "1" %} {% endif %}
{% if env.getConfig("formation_max_templates") > 0 and not env.getRequestParameter("nationalteam") %} {{ i18n.getMessage("formation_load_from_template") }} {% endif %} {{ i18n.getMessage("formation_clearall") }}
{% endblock %} {% block form_footer %}

{{ i18n.getMessage("formation_freekickplayer") }}

{{ i18n.getMessage("formation_offensive_title") }}

{{ formelements.slider("offensive", formation.offensive) }}
{% if env.getConfig("formation_max_templates") > 0 and not env.getRequestParameter("nationalteam") %}
{{ formelements.textfield('templatename', i18n.getMessage('formation_templatename_field'), env.getRequestParameter('templatename'), false, validationMsg, 'text', i18n.getMessage('formation_templatename_field_help')) }} {% endif %}
{% if next_match.match_id is defined %} {% else %} {{ i18n.getMessage('button_save') }} {% endif %} {{ i18n.getMessage('button_reset') }}
{% endblock %}