[% INCLUDE header %]
[% FOR item = objects %]
[% SET string = item.stringify_column %]
- <h2> [% item.$string %]</h2>
+ <div id="title"> [% item.$string %]</div>
[% INCLUDE navbar %]
<table class="view">
<tr>
<tr>
<td class="field">[% classmetadata.colnames.$col; %]</td>
<td>
- [% IF col == "url"; # Possibly too much magic.
+ [% IF col == "url" && item.url; # Possibly too much magic.
'<a href="'; item.url; '"> '; item.url; '</a>';
ELSE;
maybe_link_view(item.$col);
displays the results in a table.
#%]
+ <br /><a href="[%base%]/[%item.table%]/list">Back to listing</a>
[% view_related(item); %]
[%