]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/edit
Footer stuff from Markus.
[maypole.git] / templates / factory / edit
index 0de9f7924fd0d9b0e4dd7090bda2b43ad5cc711d..69ca0d2659d760d2c2def4dd694bdaaf870d5ca7 100644 (file)
@@ -13,7 +13,7 @@ form similar to L<add_new> but with the current values filled in.
 [% FOR item = objects; %]
 <h2> Edit [% item.name %]</h2>
 
-<FORM ACTION="[% base %]/[% classmetadata.moniker %]/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";
@@ -28,3 +28,4 @@ form similar to L<add_new> but with the current values filled in.
     END;
      '<INPUT TYPE="submit" NAME="edit" VALUE="edit">';
 END %]
+[% INCLUDE footer %]