You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
{% load i18n %}
|
|
<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">×</button>
|
|
<h4 class="modal-title"><span class="glyphicon glyphicon-envelope"></span>{% trans 'Create conversation' %}</h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div class="form-group">
|
|
<label for="{{ form.title.id_for_label }}">{{ form.title.label }}</label>
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><span class="glyphicon glyphicon-header"></span></span>
|
|
{{ form.title }}{{ form.title.errors }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="{{ form.participants.id_for_label }}">{{ form.participants.label }}</label>
|
|
<small>{% trans 'for select multiple press ctrl and click on field' %}</small>
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
|
|
{{ form.participants }}{{ form.participants.errors }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="btn-group">
|
|
<button type="submit" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-plus"></span> {% trans 'Add' %}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|