aboutsummaryrefslogtreecommitdiffstats
path: root/root/base/displayfield_base
diff options
context:
space:
mode:
Diffstat (limited to 'root/base/displayfield_base')
-rw-r--r--root/base/displayfield_base23
1 files changed, 23 insertions, 0 deletions
diff --git a/root/base/displayfield_base b/root/base/displayfield_base
new file mode 100644
index 0000000..3fdcfca
--- /dev/null
+++ b/root/base/displayfield_base
@@ -0,0 +1,23 @@
+[%-
+
+main_block = 'displayfield_base_field';
+
+control_block = 'displayfield_base_control';
+
+BLOCK displayfield_base_field;
+
+ IF self.label;
+ '<label>'; loc(self.label); '</label>: ';
+ END;
+
+ include( 'control_block' );
+
+END;
+
+BLOCK displayfield_base_control;
+
+ "CONTROL";
+
+END;
+
+-%]