blob: e6e1f0358f997bd9ccb93cdef33378c40d0c5449 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{% load url from future %}
{{ category_form.errors.category }}
<a class="label" title="Click to edit"
{% if category %}style="background-color:{{category.color}}"{% endif %}>
{% if category %}
{{ category.name|upper }}
{% else %}
No category
{% endif %}
</a>
<form method="post" action="{% url 'thread_set_category' mlist_fqdn=mlist.name threadid=threadid %}">
{% csrf_token %}
{{ category_form.as_p }}
</form>
|