{% extends "global/Page.html" %} {% load staticfiles otree %} {% load i18n %} {# ****************************************************************************************************************** #} {# *** STYLES *** #} {# ****************************************************************************************************************** #} {% block styles %} {% if list_ordering == 'xy' %} {% else %} {% endif %} {% endblock %} {# ****************************************************************************************************************** #} {# *** SCRIPTS *** #} {# ****************************************************************************************************************** #} {% block scripts %} {% if Constants.enforce_consistency %} {% endif %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Revise Your Decisions" %} {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %}
{% blocktrans trimmed %} The table below summarizes the decisions you made. Please check whether you are content with your choices or revise them if necessary. {% endblocktrans %}
{# ----------------------------------------------------------------------------------------------------------- #} {# --- x-List --- #} {# ----------------------------------------------------------------------------------------------------------- #}
{% for field, xy_a, xy_i, e_a, e_i, choice in x_list %} {% endfor %}
{% trans "Option 'Left'" %} {% trans "Option 'Right'" %}
{% trans "Your Payoff" %} {% trans "Player B's Payoff" %} {% trans "Your Payoff" %} {% trans "Player B's Payoff" %}
{{ xy_a|c }} {{ xy_i|c }} {% if choice == 'R' %} {% elif choice == 'L' %} {% endif %} {{ e_a|c }} {{ e_i|c }}
{# ----------------------------------------------------------------------------------------------------------- #} {# --- y-List --- #} {# ----------------------------------------------------------------------------------------------------------- #}
{% for field, xy_a, xy_i, e_a, e_i, choice in y_list %} {% endfor %}
{% trans "Option 'Left'" %} {% trans "Option 'Right'" %}
{% trans "Your Payoff" %} {% trans "Player B's Payoff" %} {% trans "Your Payoff" %} {% trans "Player B's Payoff" %}
{{ xy_a|c }} {{ xy_i|c }} {% if choice == 'R' %} {% elif choice == 'L' %} {% endif %} {{ e_a|c }} {{ e_i|c }}
{% next_button %} {% endblock %}