{% extends "global/Page.html" %} {% load staticfiles otree %} {% load i18n %} {# ****************************************************************************************************************** #} {# *** STYLES *** #} {# ****************************************************************************************************************** #} {% block styles %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Result" %} {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %}
{% if option_to_pay == "A" %}

{% blocktrans trimmed %} The computer will randomly choose one ball from the bag. You win £{{ winningamout }} as a bonus if the chosen ball is and you win nothing otherwise. Now click on "Draw a ball" button to draw a ball from the bag. {% endblocktrans %}

{% blocktrans trimmed with payoff=payoff %} You {{ result }}.
Your bonus is {{ payoff }}.
Important! Now please click on the "Completion" button to finish. Only by clicking on this button you can submit successfully and get your payoff (including the participation award £3 and the bonus).
{% endblocktrans %}

{% blocktrans trimmed with payoff=payoff %} You {{ result }}.
Your bonus is {{ payoff }}.
Important! Now please click on the "Completion" button to finish. Only by clicking on this button you can submit successfully and get your payoff (including the participation award £3 and the bonus).
{% endblocktrans %}

{% endif %} {% if option_to_pay == "B" %}

{% blocktrans trimmed %} The computer will run the lottery with the winning probability {{ probability }}.
Now click on "run the lottery" button to see the result. {% endblocktrans %}

{% blocktrans trimmed with payoff=payoff %} You {{ result }}.
Your bonus is {{ payoff }}.
Important! Now please click on the "Completion" button to finish. Only by clicking on this button you can submit successfully and get your payoff (including the participation award £3 and the bonus).
{% endblocktrans %}

{% blocktrans trimmed with payoff=payoff %} You {{ result }}.
Your bonus is {{ payoff }}.
Important! Now please click on the "Completion" button to finish. Only by clicking on this button you can submit successfully and get your payoff (including the participation award £3 and the bonus).
{% endblocktrans %}

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}