It gets the displayable form of a column's name from the hash returned from the column_names method:

</%doc>

<tr> <td class="field"><% $classmetadata->{colnames}->{ $col } %></td> <td>

% if ( $col eq "url" && $item->url ) { <a href="<% $item->url %>"><% $item->url %></a> % } else { <& maybe_link_view, object => $item->$col &> % }

</td> </tr> % } </table>