Where to put a Global form renderer?
Notice: This thread is very old.
- retalskram
- Member | 4
I know this must be a simple idiots question.
Where should I put some renderer code (and have it included) – so that it affects all rendered forms? overwriting the defaultform renderer.
The forms examples have everything in the one php file – which doesn't help me understand where in the MVP structure of Nette stuff like this should go in order to avoid duplication of code.
- newPOPE
- Member | 648
Or use existing renderer (as a package). E.g. https://github.com/…otstrap-form
Last edited by newPOPE (2016-12-13 09:45)