{% extends "base.html" %} {% load juntagrico.config %} {% load juntagrico.common %} {% load i18n static %} {% block page_title %}

{% translate "Beitragsrunde:" %} {{ round.name }}

{% endblock %} {% block content %} {% vocabulary "assignment_pl" as v_assignment_pl %} {% config "currency" as c_currency %}
{% csrf_token %} {% if round.enable_assignments %}

{% trans "Finanzieller Beitrag" %}

{% endif %} {% if round.description %} {{ round.description|safe }} {% endif %} {% if form.contribution %}

{% blocktrans trimmed with contribution=form.contribution.price %} Bisheriges Gebot: {{ c_currency }} {{ contribution }} {% endblocktrans %}

{% endif %}
{% for selection in form.get_selections %} {% include 'jcr/snippets/option.html' with option=selection.selected_option %} {% endfor %} {% if round.other_amount %}

{% if form.other_amount.errors %} {% for error in form.other_amount.errors %}

{{ error }}

{% endfor %} {% endif %} {% trans "Wähle einen anderen Beitrag" %}
{% endif %}
{% if form.selection.errors %} {% for error in form.selection.errors %}

{{ error }}

{% endfor %} {% endif %} {% if round.enable_assignments %}

{% vocabulary "assignment_pl" %}

{% if round.description_assignments %} {{ round.description_assignments|safe }} {% endif %} {% if form.contribution %}

{% if form.core_assignments %} {% blocktrans trimmed with total=form.contribution.total_assignments core=form.contribution.core_assignments %} Bisheriges Gebot: {{ total }} / {{ core }} {% endblocktrans %} {% else %} {% blocktrans trimmed with total=form.contribution.total_assignments %} Bisheriges Gebot: {{ total }} {% endblocktrans %} {% endif %}

{% endif %}

{% blocktrans %}Total {{ v_assignment_pl }}{% endblocktrans %}

{% if form.total_assignments.errors %} {% for error in form.total_assignments.errors %}

{{ error }}

{% endfor %} {% endif %}
{% trans "Gewählt" %}
{{ form.total_assignments.value|default_if_none:form.default_total_assignments }}
{% trans "Empfohlen" %}
{{ form.default_total_assignments }}
{% trans "Mindestens" %}
{{ form.min_total_assignments }}
{% if form.core_assignments %}

{% trans "Davon im Kernbereich" %}

{% if form.core_assignments.errors %} {% for error in form.core_assignments.errors %}

{{ error }}

{% endfor %} {% endif %}
{% trans "Gewählt" %}
{{ form.core_assignments.value|default_if_none:form.default_core_assignments }}
{% trans "Empfohlen" %}
{{ form.default_core_assignments }}
{% trans "Mindestens" %}
{{ form.min_core_assignments }}
{% endif %}
{% endif %}
{%if round.contact_me_text %}
{% endif %}
{% if round.enable_assignments %} {% endif %} {% endblock %} {% block styles %} {% endblock %}