ul#facet, move count out of label
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 May 2010 21:32:19 +0000 (23:32 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 May 2010 21:32:19 +0000 (23:32 +0200)
templates/data/facet.html.ep

index cb27ac3..e0fb78b 100644 (file)
 
 <%= include 'sorting' %>
 
-<ul>
+<ul id=facet>
 % foreach my $n ( @$facet_names ) {
 <li>
 <label>
 <input type=checkbox name="filter_vals" value="<%= $n %>" <%= $checked->{$n} ? 'checked' : '' %>>
 <%= $n %>
-<span class="count"><%= $facet->{$n} %></span>
 </label>
+<span class="count"><%= $facet->{$n} %></span>
 % }
 </ul>
 
@@ -26,3 +26,4 @@
 </form>
 
 
+<script type="text/javascript" src="/facet_graph.js"></script>