{% extends "global/Page.html" %} {% load otree %} {% block title %} Stage 2 {% endblock %} {% block content %}

{% if player.option_choice_1 == False %} You chose not to gamble in Stage 1.
You kept the certain amount which was: {% if player.C < player.w0 %}

${{ player.C }}0

{% elif player.C > player.w0 %}

${{ player.C }}0

{% else %}

${{ player.C }}0

{% endif %} {% endif %} {% if player.option_choice_1 == True %} You chose to gamble in Stage 1.
You gambled between ${{ player.min_g1}}0 and ${{ player.max_g1}}0 and the outcome of the lottery was:
[${{ player.min_g1}}0 , ${{ player.max_g1}}0] {% if player.w1 < player.w0 %}

${{ player.w1 }}0

{% elif player.w1 > player.w0 %}

${{ player.w1 }}0

{% else %}

${{ player.w1 }}0

{% endif %}
{% endif %}

Your new options are:

Option "Safe":
Keep {% if player.outcome1 < player.w0 %} ${{ player.outcome1 }}0 {% elif player.outcome1 > player.w0 %} ${{ player.outcome1 }}0 {% else %} ${{ player.outcome1 }}0 {% endif %} with certainty and end the round.

Option "Gamble":
Enter the lottery to draw a new amount in between {% if player.min_g2 < player.w0 %} ${{ player.min_g2 }}0 {% elif player.min_g2 > player.w0 %} ${{ player.min_g2}}0 {% else %} ${{ player.min_g2}}0 {% endif %} and {% if player.max_g2 < player.w0 %} ${{ player.max_g2 }}0 {% elif player.max_g2 > player.w0 %} ${{ player.max_g2}}0 {% else %} ${{ player.max_g2}}0 {% endif %} and end the round.

Select the Option

{% endblock %}