From: Jason Woofenden Date: Fri, 22 Dec 2006 04:16:23 +0000 (-0500) Subject: metaform: fields not are in the right order. added CSS for captions X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=ea4d90be29beb1d4a1462159c4deafd14c2bd7c1 metaform: fields not are in the right order. added CSS for captions --- diff --git a/metaform.php b/metaform.php index 1ae9f53..d8cc07e 100644 --- a/metaform.php +++ b/metaform.php @@ -156,10 +156,12 @@ function make_template($whole_file = true) { $tem->set('name', $name); $tem->set('caption', $name); # fixme $tem->sub($input); + $tem->sub('row'); } $tem->set('name', 'save'); $tem->set('caption', 'Save'); $tem->sub('submit'); + $tem->sub('row'); $tem->sub('form'); if($whole_file) { return $tem->run(); diff --git a/metaform/preview.html b/metaform/preview.html index 2d4381a..0de8cc0 100644 --- a/metaform/preview.html +++ b/metaform/preview.html @@ -3,6 +3,9 @@ Meta Form + diff --git a/metaform/template.html b/metaform/template.html index edff985..8445292 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -3,6 +3,9 @@ ~form_name~ entry + @@ -10,12 +13,9 @@

~form_name~ entry form

- - - - - -
~caption.html~:
~caption.html~:
~caption.html~:
+ + +
~caption.html~:
~caption.html~: ~caption.html~: