mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
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',
|
'btn_submit',
|
||||||
array(
|
array(
|
||||||
'ignore' => true,
|
'ignore' => true,
|
||||||
'label' => $this->submitLabel,
|
'label' => $this->getSubmitLabel(),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper',
|
'ViewHelper',
|
||||||
array('HtmlTag', array('tag' => 'div'))
|
array('HtmlTag', array('tag' => 'div'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user