summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-07-07 09:43:12 +0200
committerGitHub <noreply@github.com>2022-07-07 09:43:12 +0200
commitdf837d8b1b45d7386a1ab81f9b5da04baedc6274 (patch)
treea7ce3e439e7d7d8fd1cd8598bf23ed8c934c63b0 /searx/templates/simple/preferences.html
parente524358426ffeb5a8bdefef429e5e7611a1c0c35 (diff)
parentd8de994e0fd0abd42172bbae7026e04082708fe9 (diff)
Merge pull request #1428 from return42/fix-center_aligment
fix typo and document preference 'center_alignment' in the 'ui' section
Diffstat (limited to 'searx/templates/simple/preferences.html')
-rw-r--r--searx/templates/simple/preferences.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index aa0e65e28..8ee0a02c7 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -214,11 +214,11 @@
<div class="description">{{ _('Choose auto to follow your browser settings') }}</div>
</fieldset>
<fieldset>
- <legend id="pref_center_aligment">{{ _('Center Alignment') }}</legend>
+ <legend id="pref_center_alignment">{{ _('Center Alignment') }}</legend>
<p class="value">
- <select name="center_aligment" aria-labelledby="pref_center_aligment">
- <option value="1" {% if preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
- <option value="0" {% if not preferences.get_value('center_aligment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
+ <select name="center_alignment" aria-labelledby="pref_center_alignment">
+ <option value="1" {% if preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('On') }}</option>
+ <option value="0" {% if not preferences.get_value('center_alignment') %}selected="selected"{% endif %}>{{ _('Off')}}</option>
</select>
</p>
<div class="description">{{ _('Displays results in the center of the page (Oscar layout).') }}</div>