{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Decision screen 1
| Option A | Option B | |
|
{% for prob, sum in player.current_choice %}
In {{ prob }}:
{% if sum > 0 %}
Get
{% elif sum < 0 %}
Lose
{% elif sum == 0 and player.pay_amount > 0 %}
Get
{% elif sum == 0 and player.pay_amount < 0 %}
Lose
{% endif %}
$ {{ sum | abs }} {% endfor %} |
{% if amount > 0 %} Today: Get {% elif amount < 0 %} Today: Lose {% elif amount == 0 and player.pay_amount > 0 %} Today: Get {% elif amount == 0 and player.pay_amount < 0 %} Today: Lose {% endif %} $ {{ amount | abs }} | |
| {% if amount > 0 %} Today: Get {% elif amount < 0 %} Today: Lose {% elif amount == 0 and player.pay_amount > 0 %} Today: Get {% elif amount == 0 and player.pay_amount < 0 %} Today: Lose {% endif %} $ {{ amount | abs }} |