]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/view
fixed layout and made factory templates xhtml compliant
[maypole.git] / templates / factory / view
index 6736da61c4f9fc825bcda2f9feeb6740a7171a46..75d003f18d74be367fbe750c7c0a0582a12fa7d4 100644 (file)
@@ -35,7 +35,7 @@ from the C<column_names> method:
                 <td class="field">[% classmetadata.colnames.$col; %]</td>
                 <td>
                     [% IF col == "url";  # Possibly too much magic.
-                        "<a href="; item.url; "> "; item.url; "</a>";
+                        '<a href="'; item.url; '"> '; item.url; '</a>';
                     ELSE;
                         maybe_link_view(item.$col); 
                     END; %]
@@ -65,9 +65,11 @@ a list of has-many accessors. Next it calls each of those accessors, and
 displays the results in a table.
 
 #%]
+[% view_related(item); %]
+    
 [%
-    view_related(item);
     button(item, "edit");
     button(item, "delete");
 %]
 [% END; %]
+[% INCLUDE footer %]