aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/field/text.tt
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-12-14 21:10:01 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-12-14 21:10:01 +0000
commit664d660c64b882714d87f3a8dc7491723042ae0c (patch)
treeeb70016566ed692ef60e63c65f9ecced4311c96f /share/skin/default/layout/field/text.tt
parentaa8c0c904641fa20c5f50882d09c1502aae19b3a (diff)
downloadreaction-664d660c64b882714d87f3a8dc7491723042ae0c.tar.gz
reaction-664d660c64b882714d87f3a8dc7491723042ae0c.zip
port actionform, field widgets to declarative system
Diffstat (limited to 'share/skin/default/layout/field/text.tt')
-rw-r--r--share/skin/default/layout/field/text.tt25
1 files changed, 3 insertions, 22 deletions
diff --git a/share/skin/default/layout/field/text.tt b/share/skin/default/layout/field/text.tt
index b68ce67..e472cc8 100644
--- a/share/skin/default/layout/field/text.tt
+++ b/share/skin/default/layout/field/text.tt
@@ -1,28 +1,9 @@
-=for layout widget
-
-[% label %] [% field %] [% message %]
+=extends field
=for layout field
-<!-- We need a replacement for process_attrs -->
-<textarea name="[% name | html %]" id="[% id | html %]">
- [% content | html %]
+<textarea name="[% field_name %]" id="[% field_id %]">
+ [% field_value %]
</textarea>
-=for layout label
-
-<!-- This conditional goes away when mst comes up with something better -->
-[% content_str = GET content; %]
-[% IF content_str.length; %]
- <label> [% content_str | html %]: </label>
-[% END; %]
-
-=for layout message
-
-<!-- This conditional goes away when mst comes up with something better -->
-[% content_str = GET content; %]
-[% IF content_str.length; %]
- <span> [% content_str | html %] </span> <br />
-[% END %]
-
=cut