]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/view
XHTML update
[maypole.git] / templates / factory / view
index c00046c7606416d57fc1255e2da186b3d50b583e..6736da61c4f9fc825bcda2f9feeb6740a7171a46 100644 (file)
@@ -14,7 +14,7 @@ C<objects> and displays the object's properties in a table.
     [% SET string = item.stringify_column %]
     <h2> [% item.$string %]</h2>
     [% INCLUDE navbar %]
-    <table class=view>
+    <table class="view">
         <tr>
             <td class="field">[% classmetadata.colnames.$string %]</td>
             <td>[% item.$string %]</td>
@@ -32,10 +32,10 @@ from the C<column_names> method:
 
 #%]
             <tr>
-                <td class=field>[% classmetadata.colnames.$col; %]</td>
+                <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; %]