addElement( 'submit', 'btnSubmit', [ 'label' => 'Confirm Registration', 'attribs' => ['class' => 'btn btn-primary'], ] ); return $this; } protected function _getScriptOptions() { $options = parent::_getScriptOptions(); $options['loginBlockId'] = $this->getLoginBlockId(); return $options; } public function loadDefaultDecorators() { if (self::RENDER_MODE_ATTENDEE === $this->getRenderMode()) { if (false == $this->loadDefaultDecoratorsIsDisabled() && null == $this->getDecorators()) { $this->addDecorator('FormElements'); } } else { parent::loadDefaultDecorators(); } return $this; } public function setLoginBlockId($loginBlockId) { $this->_loginBlockId = $loginBlockId; return $this; } public function getLoginBlockId() { return $this->_loginBlockId; } }