{% extends "global/Page.html" %} {% load staticfiles otree %} {% load i18n %} {# ****************************************************************************************************************** #} {# *** STYLES *** #} {# ****************************************************************************************************************** #} {% block styles %} {% endblock %} {# ****************************************************************************************************************** #} {# *** SCRIPTS *** #} {# ****************************************************************************************************************** #} {% block scripts %} {% if Constants.small_pies == True or Constants.large_pies == True %} {% endif %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Results" %} {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %}
{% blocktrans trimmed %} The following decision was randomly chosen for your payment: {% endblocktrans %}

{% if Constants.one_choice_per_page == True and Constants.large_pies == True %}
{% for i,f,p in choice_to_pay %} {% if option_to_pay == 'A' %} {% elif option_to_pay == 'B' %} {% endif %} {% endfor %}
{% trans "Option A" %} {% trans "Option B" %}
{% with j=i|stringformat:"s" %} {% with pies_a="pie_a_"|add:j %}
{% endwith %} {% endwith %}
{% with j=i|stringformat:"s" %} {% with pies_b="pie_b_"|add:j %}
{% endwith %} {% endwith %}
{% else %}
{% if Constants.small_pies == True %} {% endif %} {% if Constants.small_pies == True %} {% endif %} {% for i,f,p in choice_to_pay %} {% if Constants.small_pies == True %} {% endif %} {% if Constants.small_pies == True %} {% endif %} {% endfor %}
{% trans "Option A" %} {% trans "Option B" %}
{% with j=i|stringformat:"s" %} {% with pies_a="pie_a_"|add:j %}
{% endwith %} {% endwith %}
{{ lottery_a_hi }} {% trans "with a probability of " %}{{ p }},
{{ lottery_a_lo }} {% trans "otherwise" %}
{% if option_to_pay == 'A' %}
{% elif option_to_pay == 'B' %}
{% endif %}
{{ lottery_b_hi }} {% trans "with a probability of " %}{{ p }},
{{ lottery_b_lo }} {% trans "otherwise" %}
{% with j=i|stringformat:"s" %} {% with pies_b="pie_b_"|add:j %}
{% endwith %} {% endwith %}
{% endif %}

{% blocktrans trimmed with option_to_pay=option_to_pay %} As indicated above, you decided to opt for option {{ option_to_pay }} in this decision. For the chosen option, one of the two possible outcomes has been randomly realized based on the corresponding probabilities. {% endblocktrans %}

{% blocktrans trimmed with payoff=payoff %} Your payoff in this task equals {{ payoff }}. {% endblocktrans %}

{% next_button %} {% endblock %}