Don't override submit label in the ConfirmRemovalForm
This commit is contained in:
parent
5a69c26d2c
commit
bd54784496
|
@ -16,6 +16,6 @@ class ConfirmRemovalForm extends Form
|
|||
public function init()
|
||||
{
|
||||
$this->setName('form_confirm_removal');
|
||||
$this->setSubmitLabel($this->translate('Confirm Removal'));
|
||||
$this->getSubmitLabel() ?: $this->setSubmitLabel($this->translate('Confirm Removal'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue