Skip to content

Commit

Permalink
use labels for search checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed May 17, 2011
1 parent 2c7ce93 commit 8dba0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/search/_search_box.html.erb
Expand Up @@ -14,8 +14,8 @@
</div>

<div id="search_options" style="display: none">
<%= check_box_tag('include_home', "true", (@include_home == 'true'), {}) %> <%= _("Include users' home projects") %>
<%= check_box_tag('exclude_debug', "true", @exclude_debug, {}) %> <%= _('Exclude debug packages') %>
<%= check_box_tag('include_home', "true", (@include_home == 'true'), {}) %> <label for="include_home"><%= _("Include users' home projects") %></label>
<%= check_box_tag('exclude_debug', "true", @exclude_debug, {}) %> <label for="exclude_debug"><%= _('Exclude debug packages') %></label>
</div>

<% end -%>
Expand Down

0 comments on commit 8dba0b8

Please sign in to comment.