summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--accounts/templates/admin/create_account.html2
-rw-r--r--accounts/templates/admin/disable_account.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/templates/admin/create_account.html b/accounts/templates/admin/create_account.html
index 208410c..6dae77c 100644
--- a/accounts/templates/admin/create_account.html
+++ b/accounts/templates/admin/create_account.html
@@ -12,7 +12,7 @@
Der Benutzer bekommt eine Mail, mit der er sich dann ganz normal
ein Passwort setzen kann.
</p>
-<form action="" method="post" class="form-horizontal">
+<form action="{{ url_for('.create_account') }}" method="post" class="form-horizontal">
{% for field in form %}
{{ render_field(field) }}
{% endfor %}
diff --git a/accounts/templates/admin/disable_account.html b/accounts/templates/admin/disable_account.html
index 9842d6c..47bc1d4 100644
--- a/accounts/templates/admin/disable_account.html
+++ b/accounts/templates/admin/disable_account.html
@@ -12,7 +12,7 @@
Der Benutzer wird davon nicht benachrichtigt, mach das also nur mit
Accounts, die sicher Spammer sind!
</p>
-<form action="" method="post" class="form-horizontal">
+<form action="{{ url_for('.disable_account') }}" method="post" class="form-horizontal">
{% for field in form %}
{{ render_field(field) }}
{% endfor %}