I've written in most of the static form functions as helpers in Twig, hopefully this should make views a lot cleaner and remove the need to define forms in controllers or call the Form functions using the 'call any function' function.
I haven't included any documentation of these (yet) but i will in a future pull request (soon). Let me know if you'd prefer this to be done before merging this one.
I've written in most of the static form functions as helpers in Twig, hopefully this should make views a lot cleaner and remove the need to define forms in controllers or call the
Form
functions using the 'call any function' function.I haven't included any documentation of these (yet) but i will in a future pull request (soon). Let me know if you'd prefer this to be done before merging this one.