protected function getMainSection() { $form = Forms::getRegisterForm(); $js = Forms::getRegisterJs('/'); $this->addInlineJs($js); return <<<HTML <div class="container theme-showcase" role="main"> <div class="jumbotron"> \t<h3>Register</h3> {$form} </div> </div> HTML; }
/** * Generate the javascript for the registration modal window */ private function getRegisterJs() { $js = Forms::getRegisterJs(); $this->addInlineJs($js); }