mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
->setRightTitle didn't show because $RightTitle was misnamed with a lowercase r
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43896 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
15837d7775
commit
26be9e739d
@ -251,7 +251,7 @@ class FormField extends ViewableData {
|
||||
|
||||
$titleBlock = (!empty($Title)) ? "<label class=\"left\" for=\"{$this->id()}\">$Title</label>" : "";
|
||||
$messageBlock = (!empty($Message)) ? "<span class=\"message $MessageType\">$Message</span>" : "";
|
||||
$rightTitleBlock = (!empty($rightTitle)) ? "<label class=\"right\" for=\"{$this->id()}\">$RightTitle</label>" : "";
|
||||
$rightTitleBlock = (!empty($RightTitle)) ? "<label class=\"right\" for=\"{$this->id()}\">$RightTitle</label>" : "";
|
||||
|
||||
return <<<HTML
|
||||
<div id="$Name" class="field $Type $extraClass">$titleBlock<span class="middleColumn">$Field</span>$rightTitleBlock$messageBlock</div>
|
||||
@ -399,4 +399,4 @@ HTML;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user