Source

djangobb_project / basic_project / templates / django_messages / compose.html

Full commit
{% extends 'django_messages/base_pm.html' %}
{% load forum_extras %}
{% load i18n %}

{% block sub_content %}


<div class="blockform">
	<h2><span>{% trans "Send a message" %}</span></h2>
	<div class="box">


	<form action="" method="post">
		{% csrf_token %}
		<div class="inform">
		<fieldset>
			<legend>{% trans "Write your message and submit" %}</legend>

			<div class="infldset txtarea">
				{{ form.recipient.errors }}
				<label ><strong>{{ form.recipient.label }}</strong><br />{{ form.recipient }}<br /></label>
				{{ form.subject.errors }}
				<label><strong>{{ form.subject.label }}</strong><br />{{ form.subject }}<br /></label>
				{{ form.body.errors }}
				<label><strong>{{ form.body.label }}</strong><br />
				{{ form.body.errors }}
				{{ form.body }}<br /></label>
			</div>
		</fieldset>
			</div>
			<p><input type="submit" name="submit" value="{% trans "Send" %}" tabindex="6" accesskey="s" /><a href="javascript:history.go(-1)">{% trans "Go back" %}</a></p>

		</form>
	</div>
</div>

{% endblock %}