blob: 56d25f5acf9e59eaf836a7b9859483ab9203f5f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "base.html" %}
{% load url from future %}
{% load gravatar %}
{% load hk_generic %}
{% load storm %}
{% load crispy_forms_tags %}
{% block title %}
Create a new thread - {{ mlist.display_name|default:mlist.name|escapeemail }} - {{ app_name|title }}
{% endblock %}
{% block content %}
<div class="row-fluid">
{% include 'threads/month_list.html' %}
<div class="span7">
<div class="message-header">
<h1>Create a new thread</h1>
</div>
{% if failure %}
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">×</button>
{{ failure }}
</div>
{% endif %}
<div class="new-thread-form">
<form method="post" enctype="multipart/form-data"
action="{% url 'message_new' mlist_fqdn=mlist.name %}">
{% csrf_token %}
{{ post_form|crispy }}
<p class="buttons">
<button type="submit" class="submit btn btn-primary">Send</button>
or <a class="cancel" href="{% url 'archives_latest' mlist_fqdn=mlist.name %}">cancel</a>
</p>
</form>
</div>
</div>
</div>
{% endblock %}
|