1 2 3 4 5
<?php $this->loginForm->setAction($this->url()); echo $this->loginForm; ?> <div><button onclick="location.href='/user/auth/recoverpassword'">Recover Password</button></div>