summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/threads/add_tag_form.html (renamed from templates/add_tag_form.html)7
-rw-r--r--views/thread.py2
2 files changed, 3 insertions, 6 deletions
diff --git a/templates/add_tag_form.html b/templates/threads/add_tag_form.html
index 9a0f68c..da1014d 100644
--- a/templates/add_tag_form.html
+++ b/templates/threads/add_tag_form.html
@@ -1,14 +1,11 @@
{% extends "base.html" %}
-{% block title %}{{ app_name }}{% endblock %}
-
{% block header %} {% endblock %}
+
{% block content %}
- <div class="content">
<form action="/addtag/{{list_address}}/{{email_id}}/" method="post">
{% csrf_token %}
{{ addtag_form }}
<button type="submit">Add</button>
- </form>
- </div> <!-- end of content -->
+ </form>
{% endblock %}
diff --git a/views/thread.py b/views/thread.py
index b18583c..d34e57b 100644
--- a/views/thread.py
+++ b/views/thread.py
@@ -26,7 +26,7 @@ class AddTagForm(forms.Form):
@login_required
def add_tag(request, mlist_fqdn, email_id):
""" Add a tag to a given message. """
- t = loader.get_template('add_tag_form.html')
+ t = loader.get_template('threads/add_tag_form.html')
if request.method == 'POST':
form = AddTagForm(request.POST)
if form.is_valid():