diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index ab237a219..6699a30a4 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -102,79 +102,77 @@
{{ tabs_open() }}
-{{ tab_header('maintab', 'general', _('General')) }}
- {% if 'categories' not in locked_preferences %}
-
- {{ _('Default categories') }}
- {% set display_tooltip = false %}
- {% include 'simple/categories.html' %}
-
- {% endif %}
- {% if 'language' not in locked_preferences %}
-
- {{ _('Search language') }}
- {{- '' -}}
- {{- '' -}}
- {{ _('Default language') }}
- {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
- {{ lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id }}
+ {{ tab_header('maintab', 'general', _('General')) }}
+ {% if 'categories' not in locked_preferences %}
+
+ {{ _('Default categories') }}
+ {% set display_tooltip = false %}
+ {% include 'simple/categories.html' %}
+
+ {% endif %}
+ {% if 'language' not in locked_preferences %}
+
+ {{ _('Search language') }}
+ {{- '' -}}
+ {{- '' -}}
+ {{ _('Default language') }}
+ {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
+ {{ lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id }}
+ {%- endfor -%}
+ {{- '' -}}
+
+ {{ _('What language do you prefer for search?') }}
+
+ {% endif %}
+ {% if 'autocomplete' not in locked_preferences %}
+
+ {{ _('Autocomplete') }}
+
+
+ -
+ {%- for backend in autocomplete_backends -%}
+ {{ backend }}
+ {%- endfor -%}
+
+
+ {{ _('Find stuff as you type') }}
+
+ {% endif %}
+ {% if 'safesearch' not in locked_preferences %}
+
+ {{ _('SafeSearch') }}
+
+
+ {{ _('Strict') }}
+ {{ _('Moderate') }}
+ {{ _('None') }}
+
+
+ {{ _('Filter content') }}
+
+ {% endif %}
+ {{ plugin_preferences('general') }}
+ {% if 'doi_resolver' not in locked_preferences %}
+
+ {{ _('Open Access DOI resolver') }}
+
+
+ {%- for doi_resolver_name,doi_resolver_url in doi_resolvers.items() -%}
+
+ {{- doi_resolver_name }} - {{ doi_resolver_url -}}
+
{%- endfor -%}
- {{- '' -}}
-
- {{ _('What language do you prefer for search?') }}
-
- {% endif %}
- {% if 'autocomplete' not in locked_preferences %}
-
- {{ _('Autocomplete') }}
-
-
- -
- {%- for backend in autocomplete_backends -%}
- {{ backend }}
- {%- endfor -%}
-
-
- {{ _('Find stuff as you type') }}
-
- {% endif %}
- {% if 'safesearch' not in locked_preferences %}
-
- {{ _('SafeSearch') }}
-
-
- {{ _('Strict') }}
- {{ _('Moderate') }}
- {{ _('None') }}
-
-
- {{ _('Filter content') }}
-
- {% endif %}
- {{ plugin_preferences('general') }}
- {% if 'doi_resolver' not in locked_preferences %}
-
- {{ _('Open Access DOI resolver') }}
-
-
- {%- for doi_resolver_name,doi_resolver_url in doi_resolvers.items() -%}
-
- {{- doi_resolver_name }} - {{ doi_resolver_url -}}
-
- {%- endfor -%}
-
-
-
-
- {% endif %}
+
+
+
+
+ {% endif %}
{{ tab_footer() }}
{{ tab_header('maintab', 'engines', _('Engines')) }}
{{ _('Currently used search engines') }}
-
{{ tabs_open() }}
{% for categ in all_categories %}
-
{{ tab_header('enginetab', 'category' + categ, _(categ)) }}