{% extends "global/Page.html" %} {% load otree %} {% block content %} {% if player.id_in_group == 1 %} You kept {{player.investment1}}

{% for network in p1networks %} {% if network == 1 %} You sent Player 1 {{player.investment1}}
They promised {{promise1}}% back
They gave back {{player1_return1}}% of your investment after growth
Which is {{player1_returnpts1}}

{% elif network == 2 %} You sent Player 2 {{player.investment2}}
They promised {{promise2}}% back
They gave back {{player2_return1}}% of your investment after growth
Which is {{player2_returnpts1}}

{% elif network == 3 %} You sent Player 3 {{player.investment3}}
They promised {{promise3}}% back
They gave back {{player3_return1}}% of your investment after growth
Which is {{player3_returnpts1}}

{% elif network == 4 %} You sent Player 4 {{player.investment4}}
They promised {{promise4}}% back
They gave back {{player4_return1}}% of your investment after growth
Which is {{player4_returnpts1}}

{% endif %} {% endfor %} In total you have {{player.final_total_money}} (this includes both money kept from endowment and from outside investment) {% elif player.id_in_group == 2 %} You kept {{player.investment2}}
{% for network in p2networks %} {% if network == 1 %} You sent Player 1 {{player.investment1}}
They promised {{promise1}}% back
They gave back {{player1_return2}}% of your investment after growth
Which is {{player1_returnpts2}}

{% elif network == 2 %} You sent Player 2 {{player.investment2}}
They promised {{promise2}}% back
They gave back {{player2_return2}}% of your investment after growth
Which is {{player2_returnpts2}}

{% elif network == 3 %} You sent Player 3 {{player.investment3}}
They promised {{promise3}}% back
They gave back {{player3_return2}}% of your investment after growth
Which is {{player3_returnpts2}}

{% elif network == 4 %} You sent Player 4 {{player.investment4}}
They promised {{promise4}}% back
They gave back {{player4_return2}}% of your investment after growth
Which is {{player4_returnpts2}}

{% endif %} {% endfor %} In total you have {{player.final_total_money}} (this includes both money kept from endowment and from outside investment) {% elif player.id_in_group == 3 %} You kept {{player.investment3}}
{% for network in p3networks %} {% if network == 1 %} You sent Player 1 {{player.investment1}}
They promised {{promise1}}% back
They gave back {{player1_return3}}% of your investment after growth
Which is {{player1_returnpts3}}

{% elif network == 2 %} You sent Player 2 {{player.investment2}}
They promised {{promise2}}% back
They gave back {{player2_return3}}% of your investment after growth
Which is {{player2_returnpts3}}

{% elif network == 3 %} You sent Player 3 {{player.investment3}}
They promised {{promise3}}% back
They gave back {{player3_return3}}% of your investment after growth
Which is {{player3_returnpts3}}

{% elif network == 4 %} You sent Player 4 {{player.investment4}}
They promised {{promise4}}% back
They gave back {{player4_return3}}% of your investment after growth
Which is {{player4_returnpts3}}

{% endif %} {% endfor %} In total you have {{player.final_total_money}} (this includes both money kept from endowment and from outside investment) {% elif player.id_in_group == 4 %} You kept {{player.investment4}}
{% for network in p4networks %} {% if network == 1 %} You sent Player 1 {{player.investment1}}
They promised {{promise1}}% back
They gave back {{player1_return4}}% of your investment after growth
Which is {{player1_returnpts4}}

{% elif network == 2 %} You sent Player 2 {{player.investment2}}
They promised {{promise2}}% back
They gave back {{player2_return4}}% of your investment after growth
Which is {{player2_returnpts4}}

{% elif network == 3 %} You sent Player 3 {{player.investment3}}
They promised {{promise3}}% back
They gave back {{player3_return4}}% of your investment after growth
Which is {{player3_returnpts4}}

{% elif network == 4 %} You sent Player 4 {{player.investment4}}
They promised {{promise4}}% back
They gave back {{player4_return4}}% of your investment after growth
Which is {{player4_returnpts4}}

{% endif %} {% endfor %} In total you have {{player.final_total_money}} (this includes both money kept from endowment and from outside investment) {% else %} you should not see this {% endif %} {% next_button %} {% endblock %}