From ea4d90be29beb1d4a1462159c4deafd14c2bd7c1 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 21 Dec 2006 23:16:23 -0500 Subject: [PATCH] metaform: fields not are in the right order. added CSS for captions --- metaform.php | 2 ++ metaform/preview.html | 3 +++ metaform/template.html | 12 ++++++------ 3 files changed, 11 insertions(+), 6 deletions(-) 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~:
-- 1.7.10.4