Hi guys, I'm trying to learn phalcon by examining the examples. Currently I'm studying Vokura example.
What I want to do is, instead of going to Login and Signup pages seperately, I'd like to have them on one page, say index..
I've looked at Partial templates and tried to use:
//views>index.volt
<div>{{ partial("session/login") }}</div>
<div>{{ partial("session/signup") }}</div>
I also included:
//controllers>IndexController.php
use Vokuro\Forms\LoginForm;
use Vokuro\Forms\SignUpForm;
However, that threw an error Notice: Undefined variable: form
My question is, what do I need to do to include both login and signup forms on the index page without making changes to LoginForm.php, SignupForm.php, SessionController.php so I can also use links to go to the individual login and signup pages.
Hope I'm making any sense, thank you in advance.