{% block title %} divs in random order with oTree {% endblock %} {% block scripts %} {% endblock %} {% block content %} {% for pyField in pyFields_shuffled %}

div no. {{ forloop.counter }}

{% formfield pyField %}
{% if forloop.counter == 1 %} {% else %} {% endif %} {% if forloop.counter == 14 %} {{ next_button }} {% else %} {% endif %}
{% endfor %} {% endblock %}