summaryrefslogtreecommitdiff
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-11 17:29:46 -0500
committerDan McGee <dan@archlinux.org>2010-06-11 17:29:46 -0500
commitb3059dd3e871de3bc34fa3ee7ab9730c034f22df (patch)
tree9842753abf3503c37af809e7b15cec26da759b44 /templates/todolists
parent408288719e7515ac01c6eb81a5a2d9a1c63a62bc (diff)
Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/todolist_confirm_delete.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/todolists/todolist_confirm_delete.html b/templates/todolists/todolist_confirm_delete.html
index 39c9f0da..26cc4b8b 100644
--- a/templates/todolists/todolist_confirm_delete.html
+++ b/templates/todolists/todolist_confirm_delete.html
@@ -14,7 +14,7 @@
<p>Are you sure?</p>
- <form id="delete-todo-form" method="post" action=".">{% csrf_token %}
+ <form id="delete-todo-form" method="post">{% csrf_token %}
<p><input type="submit" value="Delete" /></p>
</form>