{% extends request.is_ajax|yesno:'nullcont.htm,group_app/ext.html' %}
{% load i18n bootstrap3%}
{% block active_text %}{% trans 'Add group' %}{% endblock %}
{% block content %}
<form action="{% url 'group_app:add' %}" method="post">{% csrf_token %}
    <div class="modal-header success">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title"><span class="glyphicon glyphicon-info-sign"></span>{% trans 'Add group' %}</h4>
    </div>
    <div class="modal-body">
        {% bootstrap_form form %}
    </div>
    <div class="modal-footer">
        <button type="submit" class="btn btn-success">
            <span class="glyphicon glyphicon-plus"></span> {% trans 'Add' %}
        </button>
    </div>
</form>
{% endblock %}