{% extends "template.html" %}
{% block template %}
    <h2 id="page-title">{% block title %}{% endblock %}</h2>
    <article>
    <div class="ym-g66 ym-gl content">
        <div class="ym-gbox-left ym-clearfix" id="main-content">
            {% if messages and not no_messages %}
                {% for message in messages %}
                    <div class="alert {% if message.tags == 'warning'%}alert-error{% elif message.tags == 'info' %}alert-info{% elif message.tags == 'success' %}alert-success{% endif %}">
                    <a href="#" class="close extra-bold" data-dismiss="alert">&times;</a>
                    {{message}}
                    </div>
                {% endfor %}
            {% endif %}
                   
            {% block content %}{% endblock %}
        </div>
    </div>
    <aside class="ym-g33 ym-gr" id="main-sidebar">
        <div class="ym-gbox-right ym-clearfix">
            {% block sidebar %}
            {% endblock %}
        </div>
    </aside>
    </article>
{% endblock %}
