Form row filter

I love newforms. But sometimes using {{ form }} within a template doesn't give you enough flexibility. The other option, manually defining the markup for each field, is tedious, boring and error-prone.

This is an example of how you can use a template filter to get the best of both worlds. Use it like this to render an entire form: