Form as a component with its own template
Notice: This thread is very old.
- medhi
- Generous Backer | 255
Hi,
because the newest trend is to create forms as components (if you want to use them more than once), here is complete example, how to do it.
- medhi
- Generous Backer | 255
And after some time, I see, that this way is soooo complicated. Quite better is example of Sign In form in Nette Sandbox, because it doesn't use any interface. But i allows you to have own tamplate just this way: https://github.com/…ign/in.latte#L6
Which is also little bit unfriendly.
So I appeal Nette Gurus™ to think and help us – common people – to have possibility to use forms in some much pleasant way!