<commit_before>{% extends 'GeekhubResourceBundle::layout.html.twig' %}

{% block body %}
    <div class="container" id="wrap">
        {% include 'GeekhubResourceBundle:includes:menu.html.twig' %}

        <div style="margin-top: 50px;">

            {% for dream in dreams %}
                <div>

                    <p>title = {{ dream.title }}</p>
                    <p>descr = {{ dream.description }}</p>
                    <p>phone = {{ dream.phone }}</p>
                    <p>exp data = {{ dream.expiredDate|date('d.m.Y') }}</p>
                    <p>status = {{ dream.currentStatus.title }}</p>
                    <p>Tags = {{ dream.tags }}</p>

                    <div class=" well well-sm">
                    {% for resources in dream.dreamResources %}
                        <p>title = {{ resources.title }}</p>
                        <p>type = {{ resources.type }}</p>
                        {% if resources.quantity is not null %}
                            <p>quantity = {{ resources.quantity }}</p>
                        {% endif %}

                        {% if resources.quantityType is not null %}
                            <p>quantityType = {{ resources.quantityType }}</p>
                        {% endif %}

                        {% if resources.quantityDays is not null %}
                            <p>quantityDays = {{ resources.quantityDays }}</p>
                        {% endif %}
                        <hr>

                    {% endfor %}
                    </div>

                </div>
            {% endfor %}

        </div><commit_msg>fix print tags to list template<commit_after>{% extends 'GeekhubResourceBundle::layout.html.twig' %}

{% block body %}
    <div class="container" id="wrap">
        {% include 'GeekhubResourceBundle:includes:menu.html.twig' %}

        <div style="margin-top: 50px;">

            {% for dream in dreams %}
                <div>

                    {{ dump(dream.tags) }}

                    <p>title = {{ dream.title }}</p>
                    <p>descr = {{ dream.description }}</p>
                    <p>phone = {{ dream.phone }}</p>
                    <p>exp data = {{ dream.expiredDate|date('d.m.Y') }}</p>
                    <p>status = {{ dream.currentStatus.title }}</p>
                    <p>Tags =
                        {% for tag in dream.tags %}
                            {{ tag.name }}
                        {% endfor %}
                    </p>

                    <div class=" well well-sm">
                    {% for resources in dream.dreamResources %}
                        <p>title = {{ resources.title }}</p>
                        <p>type = {{ resources.type }}</p>
                        {% if resources.quantity is not null %}
                            <p>quantity = {{ resources.quantity }}</p>
                        {% endif %}

                        {% if resources.quantityType is not null %}
                            <p>quantityType = {{ resources.quantityType }}</p>
                        {% endif %}

                        {% if resources.quantityDays is not null %}
                            <p>quantityDays = {{ resources.quantityDays }}</p>
                        {% endif %}
                        <hr>

                    {% endfor %}
                    </div>

                </div>
            {% endfor %}

        </div>
{'fraction_non_alphanumeric': 0.14319387153800825, 'fraction_numerical': 0.0011785503830288745, 'mean_word_length': 1.042719614921781, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1562610', 'n_tokens_mistral': 958, 'n_tokens_neox': 799, 'n_words': 178}