<%args> $item % my $string = $item->stringify_column;
<% $item->$string %>
<& navbar &> % foreach my $col ( @{ $classmetadata->{columns} } ) { % next if $col eq "id" or $col eq $string; % next unless $item->$col; <%doc> =for doc It gets the displayable form of a column's name from the hash returned from the C method: % }
<% $classmetadata->{colnames}->{ $string } %> <% $item->$string %>
<% $classmetadata->{colnames}->{ $col } %> % if ( $col eq "url" && $item->url ) { <% $item->url %> % } else { <& maybe_link_view, object => $item->$col &> % }