{% extends "template_features.html" %}
{% load i18n %}
{% block template %}


<div class="row" style="margin-top: 3em;">
    <div class="col-md-10 col-md-offset-1" id="main-content">
        {% if show_shariff %}
            {% include 'misc/fragments/shariff_modal.html' %}

            <button type="button"
                    class="btn btn-default btn-xs pull-right"
                    data-toggle="modal"
                    data-target="#shariffModal"
                    style="margin-bottom: 1em;">
                <span class="glyphicon glyphicon-retweet"></span>
                {%  trans "Share" %}
            </button>
            <div class="clearfix"></div>
        {% endif %}



        {% 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>
{% endblock %}
