{% extends "FOSUserBundle::layout.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block body %}
    <div class="form-user-login">
        <div class="row">
            <div class="col-lg-6">
                <div class="module module-inview-login login-col-left bg-alabaster pa">
                    <div>
                        {{ include('User/_component/login.html.twig') }}
                    </div>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="module module-inview-login login-col-right bg-pelorous pa">
                    <div>
                        {{ render(controller('AppBundle:Render:module', { position:'login_content_right', force_type:'custom_html', force_layout:'nowrap.html.twig' })) }}
                        <br/><br/>
                        <div class="text-center">
                            {{ include('Front/_component/button.html.twig', {
                                type: 'link',
                                url: path('fos_user_registration_register'),
                                text: 'registration.submit_v2'|trans,
                                'data-fancybox': '',
                                attr: {'data-src':'#register'},
                            }) }}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock body %}

{% block before_body %} 
    {% set pageHeaderTitle = 'views.login.header.title'|trans([], 'FOSUserBundle') %}
    {% set pageHeaderIntroduction = 'views.login.header.introduction'|trans([], 'FOSUserBundle')|raw %}
    {% include "Front/_part/page-header.html.twig" %}
    {#{ render(controller('AppBundle:Render:module', { position:'before_body' })) }#}
{% endblock %}

{% block after_body %} 
    {#{ render(controller('AppBundle:Render:module', { position:'after_body' })) }#}
{% endblock %}
