mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Code formatting changes for readability and consistency in DropdownField->Field()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63420 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b675fbe1ec
commit
c08f6e4dbb
@ -45,10 +45,14 @@ class DropdownField extends FormField {
|
||||
$this->isSelected = true;
|
||||
}
|
||||
|
||||
$options .= $this->createTag('option', array(
|
||||
'selected' => $selected,
|
||||
'value' => $value
|
||||
), $title);
|
||||
$options .= $this->createTag(
|
||||
'option',
|
||||
array(
|
||||
'selected' => $selected,
|
||||
'value' => $value
|
||||
),
|
||||
$title
|
||||
);
|
||||
}
|
||||
|
||||
$attributes = array(
|
||||
|
Loading…
Reference in New Issue
Block a user