Add addSubmitButton to BaseBackendForm

refs 
This commit is contained in:
Johannes Meyer 2014-07-24 08:49:47 +02:00
parent 235c4a8c52
commit d8b468cf12
1 changed files with 16 additions and 0 deletions
application/forms/Config/Authentication

View File

@ -30,6 +30,22 @@ abstract class BaseBackendForm extends Form
$this->addElement($checkbox);
}
/**
* @see Form::addSubmitButton()
*/
public function addSubmitButton()
{
$this->addElement(
'submit',
'btn_submit',
array(
'label' => t('Save Changes')
)
);
return $this;
}
/**
* Validate this form with the Zend validation mechanism and perform a logic validation of the connection.
*