summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-07-19 03:19:07 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-07-19 03:19:07 -0400
commit8bc6e3521e6469b174c35827ad241d5b191de3cd (patch)
treea85c4a7d730b66d7f60941426d236976219a798b
parent607dccfc3b0bf0e8f8dd7f02df7765ac00b4eda0 (diff)
downloadaskbot-8bc6e3521e6469b174c35827ad241d5b191de3cd.tar.gz
askbot-8bc6e3521e6469b174c35827ad241d5b191de3cd.tar.bz2
askbot-8bc6e3521e6469b174c35827ad241d5b191de3cd.zip
added url to ask form action
-rw-r--r--askbot/templates/widgets/ask_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/templates/widgets/ask_form.html b/askbot/templates/widgets/ask_form.html
index 1d5029f1..1d2642c7 100644
--- a/askbot/templates/widgets/ask_form.html
+++ b/askbot/templates/widgets/ask_form.html
@@ -1,5 +1,5 @@
{% import "macros.html" as macros %}
-<form id="fmask" action="" method="post" >{% csrf_token %}
+<form id="fmask" action="{% url "ask" %}" method="post" >{% csrf_token %}
<div class="form-item ask-form-bar">
<label for="id_title">
{{ form.title.help_text }}