logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: fa29452bd8071271c6a86068b2944ec3181fdd90
parent: f1f0d978cb9e85e5975409e116e74fb3e69ce716
Author: asciimoo <asciimoo@gmail.com>
Date:   Tue,  3 Dec 2013 19:03:59 +0100

[fix] checkbox ids

Diffstat:

searx/templates/search.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/templates/search.html b/searx/templates/search.html @@ -6,7 +6,7 @@ <div> {% for category in categories %} <div class="checkbox_container"> - <input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label> + <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category|replace(' ', '_') }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label> </div> {% endfor %} </div>