aboutsummaryrefslogtreecommitdiffstats
path: root/root/base/fieldset
diff options
context:
space:
mode:
Diffstat (limited to 'root/base/fieldset')
-rw-r--r--root/base/fieldset20
1 files changed, 20 insertions, 0 deletions
diff --git a/root/base/fieldset b/root/base/fieldset
new file mode 100644
index 0000000..7daa8be
--- /dev/null
+++ b/root/base/fieldset
@@ -0,0 +1,20 @@
+[%
+
+PROCESS field_base;
+
+control_block = 'fieldset_control';
+
+BLOCK fieldset_control;
+
+ %]<fieldset id="[% self.field_name | html %]"[% process_attrs(attrs) %] />[%
+ IF self.text;
+ '<legend>'; self.text; '</legend>';
+ END;
+
+# INCLUDE( 'control_block' );
+
+ %]</fieldset>[%
+
+END;
+
+%]