#%]
[% MACRO display_line(item) BLOCK;
FOR col = classmetadata.list_columns;
- NEXT IF col == "id";
+ NEXT IF col == "id" OR col == classmetadata.table _ "_id";
"<td>";
IF col == "url" AND item.url;
'<a href="'; item.url; '"> '; item.url; '</a>';
#%]
[% MACRO view_item(item) BLOCK; %]
- [% SET string = classmetadata.stringifycolumn %]
+ [% SET string = classmetadata.stringify_column %]
<div id="title"> [% item.$string %]</div>
[% INCLUDE navbar %]
<table class="view">
<td>[% item.$string %]</td>
</tr>
[% FOR col = classmetadata.columns.list;
- NEXT IF col == "id" OR col == string;
+ NEXT IF col == "id" OR col == string OR col == classmetadata.table _ "_id";;
NEXT UNLESS item.$col;
%]
[%#