]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/edit
Use table instead of moniker.
[maypole.git] / templates / factory / edit
index 0de9f7924fd0d9b0e4dd7090bda2b43ad5cc711d..90e87600dddd74513b651e1bcd8990a343f7b56a 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";