{% load i18n bootstrap3 %}
<form role="form" action="{% url 'msg_app:new_conversation' %}" method="post">{% csrf_token %}
    <div class="modal-header primary">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title"><span class="glyphicon glyphicon-envelope"></span>{% trans 'Create conversation' %}</h4>
    </div>

    <div class="modal-body">

        {% bootstrap_icon 'header' as ic %}
        {% bootstrap_field form.title addon_before=ic %}

        {% bootstrap_icon 'user' as ic %}
        {% bootstrap_field form.participants addon_before=ic %}

        {% bootstrap_button _('Add') button_type='submit' button_class='btn-primary' icon='plus' %}

    </div>

</form>
