diff options
Diffstat (limited to 'share/skin/default/layout/field/text.tt')
-rw-r--r-- | share/skin/default/layout/field/text.tt | 25 |
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 |