]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/macros
list_columns instead of display_columns
[maypole.git] / templates / factory / macros
index 491a0bc5074a444701606d15b03b31f85aebb2e0..7aead21b87ae4c5bd369ca5f860cabad739847d5 100644 (file)
@@ -54,7 +54,7 @@ for some.
 
 #%]
 [% 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;
@@ -66,7 +66,7 @@ for some.
         END;
         "</td>";
     END;
-    '<td class="actions" nowrap="nowrap">';
+    '<td class="actions">';
     button(item, "edit");
     button(item, "delete");
     "</td>";