summaryrefslogtreecommitdiff
path: root/templates/news
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news')
-rw-r--r--templates/news/add.html2
-rw-r--r--templates/news/delete.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
index 04a55689..9b2ebae4 100644
--- a/templates/news/add.html
+++ b/templates/news/add.html
@@ -10,7 +10,7 @@
<h2>News: Add Article</h2>
{% endif %}
- <form id="newsform" method="post" action=".">{% csrf_token %}
+ <form id="newsform" method="post">{% csrf_token %}
<fieldset>
{{ form.as_p }}
</fieldset>
diff --git a/templates/news/delete.html b/templates/news/delete.html
index 3e3ba95e..191c6929 100644
--- a/templates/news/delete.html
+++ b/templates/news/delete.html
@@ -14,7 +14,7 @@
<p>Are you sure?</p>
- <form method="post" action=".">{% csrf_token %}
+ <form method="post">{% csrf_token %}
<input title="Delete this article" id="delete" name="delete"
type="submit" value="Delete" /></p>
</form>