{% extends 'BackendBaseBundle:Layout:bootstrapLayout.html.twig' %}

{% block body_class %}class="pace-done"{% endblock %}

{% block body %}
    <div id="wrapper" data-flash-url="{{ path('backend_base_backend_default_getflash', {slug: app.session.get('Site').slug}) }}">
        {% block sidebar -%}
            {{ render(controller("BackendBaseBundle:Backend/Common:_sideBar", {slug: app.session.get('Site').slug})) }}
        {%- endblock %}
        <div class="gray-bg dashbard-1" id="page-wrapper">
            {%- block navbar -%}{% include "BackendBaseBundle:Backend/Common:_navBar.html.twig" %}{%- endblock -%}
            {%- block breadcrumb %}{% include "BackendBaseBundle:Backend/Base:_breadcrumb.html.twig" %}{% endblock -%}
            <div class="row">
                {% block content %}{% endblock %}
                {% block buttonRow %}
                    {% if returnUrl|default %}
                    <div class="ibox">
                        <div class="ibox-content">
                            <a class="btn btn-primary" href="{{ returnUrl }}"><i class="fa fa-arrow-left"></i> {{ 'form.button.return'|trans({}, 'forms') }}</a>
                        </div>
                    </div>
                    {% endif %}
                {% endblock %}
            </div>
        </div>
    </div>
{% endblock %}