{% extends "otree/Base.html" %} {% load i18n %} {% load floppyforms otree_tags %} {% block body_main %}
{% if view.has_timeout %} {% include 'otree/includes/TimeLimit.html' with form_element_id="form" %} {% endif %} {% if form.errors %}
{% blocktrans %}Please fix the errors in the form.{% endblocktrans %} {{ form.non_field_errors }}
{% endif %}
{% csrf_token %} {% form form using %} {% formconfig row using "floppyforms/rows/bootstrap.html" %}
{% block content %}{% endblock %}
{% endform %}

{% if view.is_debug %} {% include 'otree/includes/debug_info.html' %} {% endif %}
{% endblock %} {% block internal_scripts %} {{ block.super }} {% if view.has_timeout %} {% include 'otree/includes/TimeLimit.js.html' %} {% endif %} {% endblock %}