When generating the html form, I am looping through the form variables as shown below:
{% for field in form %}
{{ LABEL }}{{ INPUT FIELD }}
The labels and fields are going through a loop. A simple one-column layout can be generated using:
{% for field in form %}
<div>{{ LABEL }}</div><div>{{ INPUT FIELD }}</div>
However, with 20 fields, I would like to have a two-column layout with text on the upper line and the field below it. I'm unsure of how to achieve this within the loop.