<%args> $item <%doc> =head2 display_line C is used in the list template to display a row from the database, by iterating over the columns and displaying the data for each column. It misses out the C column by default, and magically URLifies columns called C. This may be considered too much magic for some. =cut %foreach my $col (@{$classmetadata->{columns}}) { % next if $col eq "id"; % if ($col eq "url" && $item->{url}) { <%$item->{url}%> % }elsif ($col eq $item->stringify_column) { <& maybe_link_view, %ARGS, item=>$item&> % } else { <& maybe_link_view, %ARGS, item=>$item->$col&> % } %} <& button, %ARGS, item=>$item, action => "edit",base=>$base &> <& button, %ARGS, item=>$item, action =>"delete",base=>$base &>