{% extends "global/Page.html" %} {% load staticfiles otree %} {% load i18n %} {# ****************************************************************************************************************** #} {# *** STYLES *** #} {# ****************************************************************************************************************** #} {% block styles %} {% endblock %} {# ****************************************************************************************************************** #} {# *** SCRIPTS *** #} {# ****************************************************************************************************************** #} {% block scripts %} {% if Constants.small_pies == True or Constants.large_pies == True %} {% endif %} {% if Constants.enforce_consistency == True %} {% if Constants.one_choice_per_page == False and Constants.random_order == False %} {% endif %} {% endif %} {% endblock %} {# ****************************************************************************************************************** #} {# *** TITLE *** #} {# ****************************************************************************************************************** #} {% block title %} {% trans "Kararınız" %} {% endblock %} {# ****************************************************************************************************************** #} {# *** CONTENT *** #} {# ****************************************************************************************************************** #} {% block content %}
{% if Constants.one_choice_per_page == True and Constants.progress_bar == True %}
{% endif %} {% if Constants.one_choice_per_page == True and Constants.large_pies == True %}
{% for i,f,p in choices %} {% endfor %}
{% trans "Seçenek A" %} {% trans "Seçenek B" %}
{% with j=i|stringformat:"s" %} {% with pies_a="pie_a_"|add:j %}
{% endwith %} {% endwith %}
{% with j=i|stringformat:"s" %} {% with pies_b="pie_b_"|add:j %}
{% endwith %} {% endwith %}
{% else %}
{% if Constants.small_pies == True %} {% endif %} {% if Constants.small_pies == True %} {% endif %} {% for i,f,p in choices %} {% if Constants.small_pies == True %} {% endif %} {% if Constants.small_pies == True %} {% endif %} {% endfor %}
{% trans "Seçenek A" %} {% trans "Seçenek B" %}
{% with j=i|stringformat:"s" %} {% with pies_a="pie_a_"|add:j %}
{% endwith %} {% endwith %}
{{ p }} {% trans " olasılık ile " %}{{ lottery_a_hi }},
{% trans " yoksa " %}{{ lottery_a_lo }}
{{ p }} {% trans " olasılık ile " %}{{ lottery_b_hi }},
{% trans " yoksa " %}{{ lottery_b_lo }}
{% with j=i|stringformat:"s" %} {% with pies_b="pie_b_"|add:j %}
{% endwith %} {% endwith %}
{% next_button %} {% endif %}
{% endblock %}