#%]
[% MACRO display_line(item) BLOCK;
- FOR col = classmetadata.columns;
+ FOR col = classmetadata.list_columns;
NEXT IF col == "id";
"<td>";
IF col == "url" AND item.url;
END;
"</td>";
END;
- "<td nowrap>";
+ '<td class="actions">';
button(item, "edit");
button(item, "delete");
"</td>";
#%]
[% MACRO button(obj, action) BLOCK; %]
-<a class="action" href="[% base %]/[% obj.table %]/[% action %]/[% obj.id %]">
- [% action %]</a>
+<form class="actionform" action="[% base %]/[% obj.table %]/[% action %]/[% obj.id %]" method="post">
+<div class="field"><input class="actionbutton" type="submit" value="[% action %]" /></div></form>
[% END %]
[%#