float sort-by right
[MojoFacets.git] / templates / sorting.html.ep
index 3055787..6b30f7b 100644 (file)
@@ -1,4 +1,6 @@
 
+<span class=sort-by>
+
 sort:
 
 % if ( $sort eq 'c' ) {
@@ -23,7 +25,9 @@ value:
 
 % if ( $numeric && $sort =~ m/^[ad]$/ ) {
 <span id=numeric>numeric</span><!-- hint to facet_graph.js -->
-% } else {
+% } elsif ( $numeric ) {
 numeric
 % }
 
+</span>
+