Merge pull request #2736 from phil-davis/patch-2

This commit is contained in:
Stephen Beaver 2016-03-14 15:48:51 -04:00
commit 0974e2de31

View File

@ -53,13 +53,13 @@ class Form_Button extends Form_Input
{
$this->_tagSelfClosing = false;
$this->_tagName = 'button';
$this->_attributes['value'] = $title;
$this->_attributes['value'] = gettext($title);
$this->_attributes['icon'] = $icon;
}
else
{
$this->_tagSelfClosing = true;
$this->_attributes['value'] = $title;
$this->_attributes['value'] = gettext($title);
$this->addClass('btn-primary');
}
@ -78,4 +78,4 @@ class Form_Button extends Form_Input
return $input . htmlspecialchars($this->_title) .'</a>';
}
}
}