Form as a component with its own template

- medhi
- Member | 260
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
- Member | 260
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!
RSS feed
Topic closed