summaryrefslogtreecommitdiff
path: root/searx/templates/preferences.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:10:38 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-03-05 15:10:38 +0100
commite30f43bd81b3d7a682b3bb65eacd20ddb46b5230 (patch)
tree0cd30184ab574b4177ad3f04f9826ba82bfbeda1 /searx/templates/preferences.html
parent07f83cab224d2ddf1f7fd8b544f2f2d6679c2416 (diff)
parent73ab92544a5240bcbe7a1d39ee50ad809125db30 (diff)
Merge remote-tracking branch 'asciimoo/master'
Diffstat (limited to 'searx/templates/preferences.html')
-rw-r--r--searx/templates/preferences.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/preferences.html b/searx/templates/preferences.html
index dc33c5dfa..5632accd2 100644
--- a/searx/templates/preferences.html
+++ b/searx/templates/preferences.html
@@ -4,7 +4,7 @@
<div class="row">
<h2>{{ _('Preferences') }}</h2>
- <form method="post" action="/preferences" id="search_form">
+ <form method="post" action="{{ url_for('preferences') }}" id="search_form">
<fieldset>
<legend>{{ _('Default categories') }}</legend>
<p>
@@ -66,6 +66,6 @@
<input type="submit" value="{{ _('save') }}" />
</form>
- <div class="right"><a href="/">{{ _('back') }}</a></div>
+ <div class="right"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
</div>
{% endblock %}