{% extends "::base.html.twig" %}

{% block head %}
    {{ parent() }}

    <meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}" />
    <meta charset="UTF-8" />
    <meta name="robots" content="noindex,nofollow" />
    <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
{% endblock %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="span12">
                <br/>
                <div class="navbar">
                  <div class="navbar-inner">
                    <a class="brand" href="{{ path('homepage') }}">Symfony Skeleton</a>
                    {{ knp_menu_render('main_menu', {'nav_type': 'tabs'}) }}
                  </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="span4">
                <div class="hero-unit">
                  <h3>Side panel</h3>
                  <p>Advertising or navigation usage.</p>
                </div>
            </div>
            <div class="span8">
                {% for type, messages in app.session.flashbag.all() %}
                    {% for message in messages %}
                        <div class="flash-{{ type }}">
                            {{ message }}
                        </div>
                    {% endfor %}
                {% endfor %}

                {% block content %}{% endblock %}
            </div>
        </div>
    </div>
{% endblock %}

{% extends "::base.html.twig" %}

{% block head %}
    {{ parent() }}

    <meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}" />
    <meta charset="UTF-8" />
    <meta name="robots" content="noindex,nofollow" />
    <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
{% endblock %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="span12">
                <br/>
                <div class="navbar">
                  <div class="navbar-inner">
                    <a class="brand" href="{{ path('homepage') }}">Symfony Skeleton</a>
                    {{ knp_menu_render('main_menu', {'nav_type': 'tabs'}) }}
                  </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="span4">
                <div class="hero-unit">
                  <h3>Side panel</h3>
                  <p>Advertising or navigation usage.</p>
                </div>
            </div>
            <div class="span8">
                {% for type, messages in app.session.flashbag.all() %}
                    {% for message in messages %}
                        <div class="alert alert-{{ type }}">
                            <button type="button" class="close" data-dismiss="alert">×</button>
                            {{ message }}
                        </div>
                    {% endfor %}
                {% endfor %}

                {% block content %}{% endblock %}
            </div>
        </div>
    </div>
{% endblock %}

Fix flash messages so they work with Bootstrap
Fix flash messages so they work with Bootstrap
