{% extends 'base.html.twig' %}
{% import "system-configuration/actions.html.twig" as actions %}

{% block page_title %}{{ 'title'|trans({}, 'system-configuration') }}{% endblock %}
{% block page_subtitle %}{{ 'subtitle'|trans({}, 'system-configuration') }}{% endblock %}
{% block page_actions %}{{ actions.system_configuration('index') }}{% endblock %}

{% block main %}

    {% for section in sections %}
        {{ include('default/_form.html.twig', {
            'title': section.model.section|trans({}, 'system-configuration'),
            'form': section.form,
        }) }}
    {% endfor %}

{% endblock %}
