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

{% block body %}
    <p>Here is the latest content:</p>

    {% for item in streams %}
        <a href="{{ path('THConnectBundle_item', { 'slug': item.id }) }}">
            {% if item.icon %}
                <img src="{{ item.icon }}" /> 
            {% else %}
                <strong>{{ item.type }}</strong> 

            {% endif %}
        {{ item.message }} <br/>
        </a>
    {% endfor %}


    {% if not app.user.learninglanguage  %}
        <div id="language-modal" class="modal hide fade" style="display: none">
            <div class="modal-header">
                <h3>Your profile settings</h3>
            </div>
            <div class="modal-body">
                <p>Please provide information for your profile</p>
                <form action="{{ path('THConnectBundle_profileUpdate') }}" method="post" {{ form_enctype(form) }}>
                    {{ form_widget(form) }}<commit_msg>Show name field for stream first, then message<commit_after>{% extends '::nocol.html.twig' %}

{% block body %}
    <p>Here is the latest content:</p>

    {% for item in streams %}
        <a href="{{ path('THConnectBundle_item', { 'slug': item.id }) }}">
            {% if item.icon %}
                <img src="{{ item.icon }}" /> 
            {% else %}
                <strong>{{ item.type }}</strong> 

            {% endif %}
        {% if item.name %}
            {{ item.name }} <br/>
        {% else %}
            {{ item.message }} <br/>
        {% endif %}
        </a>
    {% endfor %}


    {% if not app.user.learninglanguage  %}
        <div id="language-modal" class="modal hide fade" style="display: none">
            <div class="modal-header">
                <h3>Your profile settings</h3>
            </div>
            <div class="modal-body">
                <p>Please provide information for your profile</p>
                <form action="{{ path('THConnectBundle_profileUpdate') }}" method="post" {{ form_enctype(form) }}>
                    {{ form_widget(form) }}
{'fraction_non_alphanumeric': 0.17471937530502685, 'fraction_numerical': 0.0019521717911176184, 'mean_word_length': 1.774018944519621, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2766698', 'n_tokens_mistral': 630, 'n_tokens_neox': 566, 'n_words': 139}