src/Tutorka/Bundle/CoreBundle/Resources/views/layout/standard_width_layout.html.twig line 1

Open in your IDE?
  1. {% extends "@TutorkaCore/base.html.twig" %}
    
    {% block stylesheets %}
        {{ parent() }}
    {% endblock %}
    
    {% block body %}
        {% set navbarClasses = '' %}
        {% set navbarContainerClasses = 'container' %}
        {% set bodyContainerClass = bodyContainerClass is defined ? bodyContainerClass : 'container py-5' %}
        {% set showAlerts = true %}
    
        {% if withoutNavbar is not defined %}
            {{ include('@TutorkaCore/navbar.html.twig', {'navbarContainerClass': navbarContainerClasses}) }}
        {% endif %}
        {% if showAlerts is defined and showAlerts %}
            {{ include('@TutorkaCore/flashMessagesBar.html.twig', {'alertWidthClass': navbarContainerClasses}) }}
        {% endif %}
        <div class="{{ bodyContainerClass }}">
            {% block content %}{% endblock %}
        </div>
    {% endblock %}
    
    {% block javascripts %}
        {{ parent() }}
    {% endblock %}