/** * Load the form. */ private function loadForm() { $this->frm = new FrontendForm('login', null, null, 'loginForm'); $this->frm->addText('email'); $this->frm->addPassword('password'); $this->frm->addCheckbox('remember', true); }
/** * Load the form. */ private function loadForm() { $this->frm = new FrontendForm('updatePassword', null, null, 'updatePasswordForm'); $this->frm->addPassword('old_password'); $this->frm->addPassword('new_password', null, null, 'inputText showPasswordInput'); $this->frm->addCheckbox('show_password'); }
/** * Load the form. */ private function loadForm() { $this->frm = new FrontendForm('register', null, null, 'registerForm'); $this->frm->addText('email'); $this->frm->addPassword('password', null, null, 'inputText showPasswordInput'); $this->frm->addCheckbox('show_password'); }
/** * Load the form. * * @return void */ private function loadForm() { // create the form $this->frm = new FrontendForm('resetPassword', null, null, 'resetPasswordForm'); // create & add elements $this->frm->addPassword('password', null, null, 'inputText showPasswordInput'); $this->frm->addCheckbox('show_password'); }