<commit_before>{% extends "OlryMentalNoteBundle::layout.html.twig" %}

{% block sidebar %}
{% render(controller('OlryMentalNoteBundle:Default:sidebar', { "filter": app.request.get('filter') })) %}
{% endblock sidebar %}

{% block content %}

<div class="nav pull-right">
    <a href="{{ path('entry_create') }}" class="modal-ajax-form btn btn-primary"><i class="icon-plus"></i> add link</a>
</div>

{{ pager.haveToPaginate() ? pagerfanta(pager, 'twitter_bootstrap3_translated', { pageParameter: "[filter][page]", proximity: 2 }) : '' }}

<div class="entry-list">
{% set lastAge = '' %}
{% for entry in pager %}
    {% if lastAge != entry.age %}
    {% set lastAge = entry.age %}
    <h4>{{ entry.age }}</h4>
    {% endif %}
    {% include "OlryMentalNoteBundle:Entry:line.html.twig" with {show_actions: true} %}
{% endfor %}
</div><commit_msg>switch to twig render function instead of tag<commit_after>{% extends "OlryMentalNoteBundle::layout.html.twig" %}

{% block sidebar %}
{{ render(controller('OlryMentalNoteBundle:Default:sidebar', { "filter": app.request.get('filter') })) }}
{% endblock sidebar %}

{% block content %}

<div class="nav pull-right">
    <a href="{{ path('entry_create') }}" class="modal-ajax-form btn btn-primary"><i class="icon-plus"></i> add link</a>
</div>

{{ pager.haveToPaginate() ? pagerfanta(pager, 'twitter_bootstrap3_translated', { pageParameter: "[filter][page]", proximity: 2 }) : '' }}

<div class="entry-list">
{% set lastAge = '' %}
{% for entry in pager %}
    {% if lastAge != entry.age %}
    {% set lastAge = entry.age %}
    <h4>{{ entry.age }}</h4>
    {% endif %}
    {% include "OlryMentalNoteBundle:Entry:line.html.twig" with {show_actions: true} %}
{% endfor %}
</div>
{'fraction_non_alphanumeric': 0.21071012805587894, 'fraction_numerical': 0.004656577415599534, 'mean_word_length': 4.846938775510204, 'pattern_counts': {'":': 2, '<': 23, '<?xml version=': 0, '>': 23, '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': '3522572', 'n_tokens_mistral': 640, 'n_tokens_neox': 571, 'n_words': 120}