{% extends "otree/Base.html" %} {% load i18n %} {% load otree static %} {% comment %} NOTE: we should keep this page as simple as possible so that 'view source' is friendly i removed many linebreaks to make output HTML cleaner {% endcomment %} {% block body_main %}
{% if view.remaining_timeout_seconds != None %} {% include 'otree/includes/TimeLimit.html' with form_element_id="form" %} {% endif %} {% if form.errors %}
{% blocktrans trimmed %}Please fix the errors in the form.{% endblocktrans %} {{ form.non_field_errors }}
{% endif %}
{% csrf_token %}
{% block content %}{% endblock %}

{% if view.is_debug|default:False %}
{% include 'otree/includes/debug_info.html' %} {% endif %}
{% endblock %} {% block internal_styles %} {{ block.super }} {% endblock %} {% block internal_scripts %} {{ block.super }} {% comment %} the below is a special flag. 2018-04-25: why not put it in a response header? ...this had to do with handling an edge case with OutOfRangeNotification. look at this again when i have time. {% endcomment %} {% if participant.is_browser_bot %} {% endif %} {% if view.remaining_timeout_seconds != None %} {% include 'otree/includes/TimeLimit.js.html' %} {% endif %} {% endblock %}