]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/edit
XHTML update
[maypole.git] / templates / factory / edit
index f1e0fbfeefe77f0f39b67a0fb1adc41402b122e5..c5c511b5d9d52bfbbbe6c1e6be3eaec92f45c0e5 100644 (file)
@@ -12,7 +12,7 @@ form similar to L<add_new> but with the current values filled in.
 [% INCLUDE header %]
 [% FOR item = objects; %]
 <h2>Edit [% item.name %]</h2>
-<form action="[% base %]/[% item.table %]/do_edit/[% item.id %]" method=post>
+<form action="[% base %]/[% item.table %]/do_edit/[% item.id %]" method="post">
 [% FOR col = classmetadata.columns;
     NEXT IF col == "id";
     "<p>";
@@ -23,6 +23,6 @@ form similar to L<add_new> but with the current values filled in.
     IF errors.$col; 
         errors.$col;
     END;
-    '<input type=submit name=edit value=edit />';
+    '<input type="submit" name="edit" value="edit"/>';
 END %]
 [% INCLUDE footer %]