diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-08-22 17:12:19 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-08-22 17:12:19 +0000 |
commit | 4b0ebd4e81012a5e6a5f77d7921176525dd89ace (patch) | |
tree | 1c3e64fe577f05119a726b49eea69c63e15f6c83 /share | |
parent | 2739c5aa63728c894634791c953f64f48a8b968e (diff) | |
parent | 599c1172394e3377d8e3e28c06557a99a1a10d1e (diff) | |
download | reaction-4b0ebd4e81012a5e6a5f77d7921176525dd89ace.tar.gz reaction-4b0ebd4e81012a5e6a5f77d7921176525dd89ace.zip |
r21703@martha (orig r863): groditi | 2008-08-20 20:38:47 -0400
container support built into fields and an example of usage in ComponentUI
Diffstat (limited to 'share')
-rw-r--r-- | share/skin/base/layout/action.tt | 10 | ||||
-rw-r--r-- | share/skin/base/layout/object.tt | 11 | ||||
-rw-r--r-- | share/skin/default/layout/action.tt | 2 | ||||
-rw-r--r-- | share/skin/default/layout/object.tt | 2 |
4 files changed, 10 insertions, 15 deletions
diff --git a/share/skin/base/layout/action.tt b/share/skin/base/layout/action.tt index 6fda5a1..5ef48cd 100644 --- a/share/skin/base/layout/action.tt +++ b/share/skin/base/layout/action.tt @@ -3,7 +3,7 @@ <div class="action_form"> <form action="" method="[% method %]" enctype="multipart/form-data"> [% header %] - [% field_list %] + [% container_list %] [% buttons %] [% footer %] </form> @@ -11,13 +11,11 @@ =for layout header -=for layout field_list +=for layout container_list -<div class="action_field_list"> - [% call_next %] -</div> +[% call_next %] -=for layout field +=for layout container [% call_next %] diff --git a/share/skin/base/layout/object.tt b/share/skin/base/layout/object.tt index 00816d3..8a5074a 100644 --- a/share/skin/base/layout/object.tt +++ b/share/skin/base/layout/object.tt @@ -1,13 +1,10 @@ =for layout widget -<div class="object_field_list"> - [% field_list %] -</div> +[% container_list %] -=for layout field +=for layout container -<span class="object_field"> - [% call_next %] -</span> +[% call_next %] =cut + diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt index 4c32a37..a18e51d 100644 --- a/share/skin/default/layout/action.tt +++ b/share/skin/default/layout/action.tt @@ -1,6 +1,6 @@ =extends NEXT -=for layout field +=for layout container [% call_next %] <br /> diff --git a/share/skin/default/layout/object.tt b/share/skin/default/layout/object.tt index 20dee31..0f32321 100644 --- a/share/skin/default/layout/object.tt +++ b/share/skin/default/layout/object.tt @@ -1,6 +1,6 @@ =extends NEXT -=for layout field +=for layout container [% call_next %] <br> |