{% extends "base-margins.html" %} {% load i18n %} {% load static %} {% block title %}{% trans "Rozwinięcia fraz" %}{% endblock %} {% block scripts %} {% endblock %} {% block content2 %}
{% for phrase_expansions in expansions %}
{% if phrase_expansions.phrase_subtypes|length > 1 and phrase_expansions.phrase_type != 'comprepnp' %}
{% endif %} {% for subtype_expansions in phrase_expansions.phrase_subtypes %} {% if phrase_expansions.phrase_subtypes|length > 1 and phrase_expansions.phrase_type != 'comprepnp' %}
{% endif %} {% for expansion in subtype_expansions.expansions %} {% if phrase_expansions.phrase_type == 'comprepnp' and forloop.counter == 1 %} {% endif %} {% for position in expansion.positions %} {% endfor %} {% endfor %}
{{ subtype_expansions.phrase_subtype }} {{ expansion.opinion_str }} {{ expansion.opinion_str }} {% for phrase in position.phrases %}
{% if phrase.desc %} {{ phrase.str }} {% else %} {{ phrase.str }} {% endif %}
{% endfor %}
{% if phrase_expansions.phrase_subtypes|length > 1 and phrase_expansions.phrase_type != 'comprepnp' %}
{% endif %} {% endfor %} {% if phrase_expansions.phrase_subtypes|length > 1 and phrase_expansions.phrase_type != 'comprepnp' %}
{% endif %}
{% endfor %}
{% endblock %}