display field name in <tt>
[MojoFacets.git] / templates / data / items / list.html.ep
index b160688..a5aa73b 100644 (file)
@@ -3,7 +3,7 @@
 <ul>
 % foreach my $col ( @$columns ) {
 %  next unless exists $row->{$col};
-<li><%= $col %>: <%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %>
+<li><tt><%= $col %></tt> <%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %>
 % }
 </ul>
 % }