{% 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 %} Result {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %}
{% 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 %} | ||
{% elif option_to_pay == 'B' %} | {% endif %} |
{% endif %} | {% trans "Option A" %} | {% trans "Option B" %} | {% if Constants.small_pies == True %}{% endif %} | |
---|---|---|---|---|
{% with j=i|stringformat:"s" %} {% with pies_a="pie_a_"|add:j %} {% endwith %} {% endwith %} | {% endif %}
Play the game |
{% if option_to_pay == 'A' %}
|
receive {{ p }} points |
{% if Constants.small_pies == True %}
{% 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 you can see, you preferred option {{ option_to_pay }} in this row. {% endblocktrans %}
{% blocktrans trimmed with payoff=payoff %} Therefore, you will not play the game and receive {{ payoff }} points. {% endblocktrans %}