From: Dobrica Pavlinusic Date: Fri, 16 Apr 2010 17:05:45 +0000 (+0200) Subject: display field name in X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=1ad77be6662ae256c93aa20545ce20be6506974a;p=MojoFacets.git display field name in --- diff --git a/templates/data/items/list.html.ep b/templates/data/items/list.html.ep index b160688..a5aa73b 100644 --- a/templates/data/items/list.html.ep +++ b/templates/data/items/list.html.ep @@ -3,7 +3,7 @@
    % foreach my $col ( @$columns ) { % next unless exists $row->{$col}; -
  • <%= $col %>: <%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %> +
  • <%= $col %> <%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %> % }
% }