addElement( 'submit', 'btnSubmit', [ 'label' => 'Confirm Registration', 'attribs' => ['class' => 'btn btn-primary'], ] ); return $this; } protected function _getScriptOptions() { $options = parent::_getScriptOptions(); $options['loginBlockId'] = $this->getLoginBlockId(); $options['memberButtonsBlockId'] = $this->getMemberButtonsBlockId(); 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; } public function getMemberButtonsBlockId() { return $this->_memberButtonsBlockId; } public function setMemberButtonsBlockId($memberButtonsBlockId) { $this->_memberButtonsBlockId = $memberButtonsBlockId; return $this; } }