better login/register page (new default login)
[wolnelektury.git] / src / ajaxable / templates / ajaxable / form.html
index 3363bc8..0af34f4 100755 (executable)
@@ -3,7 +3,7 @@
 
 <h1>{{ title }}</h1>
 
-<form action="{{ action }}" method="post" accept-charset="utf-8"
+<form action="{% if action_url %}{% url action_url %}{% else %}{{ action }}{% endif %}{% if action_query %}?{{ action_query }}{% endif %}" method="post" accept-charset="utf-8"
       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
   {% ssi_csrf_token %}
   {% if honeypot %}