1 2 3 4 5 6 7 8
<form action="{{ form.action }}" method="POST"> {{ csrf() }} {% for field in fields %} {{ field.render() }} {% endfor %} </form>