{% extends "global/Page.html" %} {% load otree %} {% block title %} Results {% endblock %} {% block content %} {% if player.role == 'Employee1' %}

You chose to send leader {{ player.sent_amount }}. Leader returned {{ group.sent_back_amount1 }}.

You were initially endowed with {{ Constants.trust_endowment }}, chose to send {{ player.sent_amount }}, received {{ group.sent_back_amount1 }} thus you earned: {{ Constants.trust_endowment }}-{{ player.sent_amount }}+{{ group.sent_back_amount1 }}

{% else %} {% if player.role == 'Employee2' %}

You sent leader {{player.sent_amount }}. The leader returned {{group.sent_back_amount2}}.

You were initially endowed with {{ Constants.trust_endowment }}, chose to send {{ player.sent_amount }}, received {{ group.sent_back_amount2 }} thus you earned: {{ Constants.trust_endowment }}-{{ player.sent_amount }}+{{ group.sent_back_amount2 }}

{% else %} {% if player.role == 'Employee3' %}

You sent leader {{player.sent_amount }}. The leader returned {{group.sent_back_amount3}}.

You were initially endowed with {{ Constants.trust_endowment }}, chose to send {{ player.sent_amount }}, received {{ group.sent_back_amount3 }} thus you earned: {{ Constants.trust_endowment }}-{{ player.sent_amount}}+{{ group.sent_back_amount3 }}

Therefore, in this trust game, your total payoff is {{player.trust_payoffs}}.

{% else %} {% for p in player.get_others_in_group %} {% endfor %} You are the leader in task three
{{ p.role }} Sent_amount:{{ p.sent_amount }} {% if p.role == 'Employee1' %} You return: {{ sent_back_amount1 }} {% else %}{% if p.role == 'Employee2' %}You return: {{ sent_back_amount2 }} {% else %}{% if p.role == 'Employee3' %}You return: {{ sent_back_amount3 }} {% endif %}{% endif %}{% endif %}

Therefore, in this trust game, your total payoff is {{trust_payoff_leader}}.

{% endif %} {% endif %} {% endif %} {% next_button %} {% endblock %}