Call `Form::getSubmitLabal()' in `Form::addSubmitButton()'
This allows us to dynamically define submit labels in form subclasses.
This commit is contained in:
parent
5ba96c32f9
commit
3c9859a0f1
|
@ -376,7 +376,7 @@ class Form extends Zend_Form
|
|||
'btn_submit',
|
||||
array(
|
||||
'ignore' => true,
|
||||
'label' => $this->submitLabel,
|
||||
'label' => $this->getSubmitLabel(),
|
||||
'decorators' => array(
|
||||
'ViewHelper',
|
||||
array('HtmlTag', array('tag' => 'div'))
|
||||
|
|
Loading…
Reference in New Issue