MINOR: added styling hook for required identifier

This commit is contained in:
Will Rossiter 2009-10-15 00:41:02 +00:00
parent 86b4df4953
commit ae8e0fa01a

View File

@ -299,7 +299,7 @@ class UserDefinedForm_Controller extends Page_Controller {
$fieldToAdd->addExtraClass('requiredField'); $fieldToAdd->addExtraClass('requiredField');
if(self::$required_identifier) { if(self::$required_identifier) {
$fieldToAdd->setLeftTitle($fieldToAdd->getLeftTitle . ' '. self::$required_identifier); $fieldToAdd->setLeftTitle($fieldToAdd->getLeftTitle . ' <span class="requiredIdentifier">'. self::$required_identifier . '</span>');
} }
} }