summaryrefslogtreecommitdiff
path: root/searx/templates/categories.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/categories.html')
-rw-r--r--searx/templates/categories.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/templates/categories.html b/searx/templates/categories.html
new file mode 100644
index 000000000..4c693f3dd
--- /dev/null
+++ b/searx/templates/categories.html
@@ -0,0 +1,5 @@
+{% for category in categories %}
+ <div class="checkbox_container">
+ <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}" class="cb"></label><label for="checkbox_{{ category|replace(' ', '_') }}">{{ category }}</label>
+ </div>
+{% endfor %}