{% extends "site_base.html" %}

{% load i18n %}

{% block title %}{% trans "Create Message" %} — {{ block.super }}{% endblock %}

{% block body %}
<h3>{% trans "Create Message" %}</h3>
<form method="post" action="{% url "message_create" %}">
    {% csrf_token %}
<table width=100%>
    {{ form }}
</table>
<div><input type="submit" value="{% trans "Send message" %}"  class="btn btn-primary" type="button"/></div>
</form>
{% endblock %}

{% block sidebar %}
<a href="{% url "messages_inbox" %}" class="btn btn-primary" type="button">{% trans "Back to Inbox" %}</a>
{% endblock %}
