{% extends "BackendBaseBundle:Layout:bootstrapFrameLayout.html.twig" %}
{% form_theme setup_form 'BackendBaseBundle:Backend/Base:_formTheme.html.twig' %}

{% block content %}
    <div class="ibox">
        <div class="ibox-content">
            <div class="tabs-container">
                <ul class="nav nav-tabs">
                    {%- for tabType in configs|keys  -%}
                    <li {% if type == tabType%}class="active"{% endif %}><a class="tab-option" href="{{ path('backend_base_backend_setup_setup', {type: tabType, slug: app.session.get('Site').slug}) }}"> {{ ('setup.'~tabType)|trans({}, 'forms') }}</a></li>
                    {%- endfor -%}
                </ul>
                <div class="tab-content">
                <div class="tab-pane active">
                    <div class="panel-body">
                        {{ form(setup_form) }}
                    </div>
                </div>
            </div>
            </div>
        </div>
    </div>
{% endblock %}
