Selaa lähdekoodia

[fix] search category checkbox whitespaces

asciimoo 11 vuotta sitten
vanhempi
commit
88b5169f8d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      searx/templates/search.html

+ 1
- 1
searx/templates/search.html Näytä tiedosto

@@ -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>