diff options
| author | asciimoo <asciimoo@gmail.com> | 2013-10-17 21:06:28 +0200 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2013-10-17 21:06:28 +0200 |
| commit | f76d80de543996f9a90eaf46e226354ad4681731 (patch) | |
| tree | 1bc3f1df732b38ed56725c9dff9b14d15600c719 /searx/templates | |
| parent | 1aff439931e134a7f01bf1fdfb9f4af3e81a990c (diff) | |
[enh] category support
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/search.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/search.html b/searx/templates/search.html index d5ebe5483..e084610ca 100644 --- a/searx/templates/search.html +++ b/searx/templates/search.html @@ -2,8 +2,8 @@ <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/> <input type="submit" value="search" /> <p> - {% for engine in engines %} - {{ engine }}: <input type="checkbox" name="engine_{{ engine }}" checked="checked"/> + {% for category in categories %} + {{ category }}: <input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /> {% endfor %} </p> </form> |