Add the name of the FormUI template being used to the list of CSS classes output for the control. This allows you to easily style elements for a single template type, rather than all.
--- trunk/htdocs/system/classes/formui.php 2010-11-21 03:05:29 UTC (rev 4602)
+++ trunk/htdocs/system/classes/formui.php 2010-11-21 21:44:13 UTC (rev 4603)
@@ -1292,6 +1292,10 @@
break;
case 'template':
$this->template = $value;
+
+ // add the template to the list of css classes - keyed so subsequent changes overwrite it, rather than append
+ $this->class['template'] = $value;
+
break;
case 'raw':
$this->raw = $value;