Frontend\Modules\Profiles\Actions\ChangePassword::loadForm PHP Method

loadForm() private method

Load the form.
private loadForm ( )
    private function loadForm()
    {
        $this->frm = new FrontendForm('updatePassword', null, null, 'updatePasswordForm');
        $this->frm->addPassword('old_password')->setAttributes(array('required' => null));
        $this->frm->addPassword('new_password', null, null, 'inputText showPasswordInput')->setAttributes(array('required' => null));
        $this->frm->addPassword('verify_new_password', null, null, 'inputText showVerifyPasswordInput')->setAttributes(array('required' => null));
        $this->frm->addCheckbox('show_password');
    }