]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/list
fixed layout and made factory templates xhtml compliant
[maypole.git] / templates / factory / list
index 120abbbfee125c473832b66de1d444e8407ba10d..843f9a4d50b603bfced8da3c999ab0cc763eb22b 100644 (file)
@@ -6,22 +6,23 @@
     <h2>Listing of all [% classmetadata.plural %]</h2>
 [% END %]
 [% INCLUDE navbar %]
-<div class="search">[% INCLUDE search_form %]</div>
+[% INCLUDE search_form %]
 <div class="list">
-    <table id="matrix" width="100%">
+    <table id="matrix" width="100%" >
         <tr>
             [% FOR col = classmetadata.columns.list;
                 NEXT IF col == "id";
                 "<th>"; 
                 SET additional = "?order=" _ col;
-                SET additional = additional _ "&page=" _ pager.current_page
+                SET additional = additional _ "&amp;page=" _ pager.current_page
                     IF pager;
-                SET additional = additional _ "&o2=desc" 
+                SET additional = additional _ "&amp;o2=desc" 
                 IF col == request.query.order and request.query.o2 != "desc";
                 link(classmetadata.table, "list", additional,
                     classmetadata.colnames.$col);
                 "</th>";
             END %]
+           <th>Actions</th>
         </tr>
         [%  SET count = 0;
         FOR item = objects;