diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-05-27 18:19:52 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-05-27 18:19:52 +0000 |
commit | f38511c5ebf5947ce2a22fe72ec27c16631def86 (patch) | |
tree | 9595e03c133ca6cc70cc0f5d5e5a0bf55b8ba881 /share/skin/default/layout/field/mutable.tt | |
parent | 201baa3103a916699cab1ade9d67a34c32ae19d1 (diff) | |
download | reaction-f38511c5ebf5947ce2a22fe72ec27c16631def86.tar.gz reaction-f38511c5ebf5947ce2a22fe72ec27c16631def86.zip |
changed approach as requested by mdk
Diffstat (limited to 'share/skin/default/layout/field/mutable.tt')
-rw-r--r-- | share/skin/default/layout/field/mutable.tt | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/share/skin/default/layout/field/mutable.tt b/share/skin/default/layout/field/mutable.tt index 936c392..3983263 100644 --- a/share/skin/default/layout/field/mutable.tt +++ b/share/skin/default/layout/field/mutable.tt @@ -1,7 +1,33 @@ -=extends NEXT +=for layout widget + +[% label_fragment %] [% field %] [% message_fragment %] + +=for layout label + +<label for="[%field_id%]" [% field_is_required %]>[% label %]:</label> + +=for layout field_is_required_yes + +class="required_field" + +=for layout field_is_required_no + +=for layout field + +<!-- Why is this here??? --> +FIELD GOES HERE =for layout message -<span>[% message %]</span> +<span>[% message %]</span><br /> + +=for layout field + +<input type="[% field_type %]" name="[% field_name %]" id="[% field_id %]" + [% field_body %] /> + +=for layout field_body + +value="[% field_value %]" =cut |