{% 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 %} {% if Constants.enforce_consistency == True %} {% if Constants.one_choice_per_page == False and Constants.random_order == False %} {% endif %} {% endif %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Your Decision" %} {% 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 %} |
| {% 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 %}
{{ lottery_a_hi }} {% trans "with a probability of " %}{{ p }}, {{ lottery_a_lo }} {% trans "otherwise" %} |
{{ lottery_b_hi }} {% trans "with a probability of " %}{{ p }}, {{ lottery_b_lo }} {% trans "otherwise" %} |
{% if Constants.small_pies == True %}
{% with j=i|stringformat:"s" %} {% with pies_b="pie_b_"|add:j %} {% endwith %} {% endwith %} | {% endif %}