aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/field.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.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.tt')
-rw-r--r--share/skin/default/layout/field.tt26
1 files changed, 26 insertions, 0 deletions
diff --git a/share/skin/default/layout/field.tt b/share/skin/default/layout/field.tt
new file mode 100644
index 0000000..fbda583
--- /dev/null
+++ b/share/skin/default/layout/field.tt
@@ -0,0 +1,26 @@
+=for layout widget
+
+[% label_fragment %] [% field %] [% message_fragment %] <br />
+
+=for layout label
+
+<label>[% label %]:</label>
+
+=for layout field
+
+FIELD GOES HERE
+
+=for layout message
+
+<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