mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-01 08:59:42 +02:00
MINOR Code formatting in TextareaField->Field()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64871 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f5e636ac43
commit
c013b02dc8
|
@ -47,9 +47,8 @@ class TextareaField extends FormField {
|
||||||
return $this->createTag(
|
return $this->createTag(
|
||||||
'span',
|
'span',
|
||||||
$attributes,
|
$attributes,
|
||||||
($this->value ? $this->value : '<i>(' . _t('FormField.NONE', 'none') . ')</i>'
|
($this->value ? $this->value : '<i>(' . _t('FormField.NONE', 'none') . ')</i>')
|
||||||
));
|
);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$attributes = array(
|
$attributes = array(
|
||||||
'id' => $this->id(),
|
'id' => $this->id(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user