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:
Sean Harvey 2008-10-29 03:13:38 +00:00
parent f5e636ac43
commit c013b02dc8

View File

@ -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(),