Explorar el Código

[fix] search category checkbox whitespaces

asciimoo hace 11 años
padre
commit
88b5169f8d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      searx/templates/search.html

+ 1
- 1
searx/templates/search.html Ver fichero

@@ -6,7 +6,7 @@
6 6
     <div>
7 7
     {% for category in categories %}
8 8
         <div class="checkbox_container">
9
-            <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>
9
+            <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>
10 10
         </div>
11 11
     {% endfor %}
12 12
     </div>