X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform.php;h=9bd36cb7e45ad298cb3d1b7bb5bdd0cb111f34ba;hb=fe7ab127fc133be74b2601cbaa3ae789d7e2a2d7;hp=74ec74ffcd71130bc67a18a61d84b906aabae271;hpb=c6b6624fdc65060f3a54d9902b28c8c103da7709;p=wfpl.git diff --git a/metaform.php b/metaform.php index 74ec74f..9bd36cb 100644 --- a/metaform.php +++ b/metaform.php @@ -159,11 +159,11 @@ function make_template($whole_file = true) { $tem->set('name', 'save'); $tem->set('caption', 'Save'); $tem->sub('submit'); - $tem->sub('body'); + $tem->sub('form'); if($whole_file) { return $tem->run(); } else { - return $tem->get('body'); + return $tem->get('form'); } }