<commit_before>{{ knp_menu_render(admin.sidemenu(action), {'currentClass' : 'active'}, 'list') }}
<p>
    <div class="btn-group">
        <a type="button" class="btn {% if mode == 'list' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('list', { 'filter': { 'context': { 'value': current_category is defined ? current_category.context.id|default('') : '' }}}) }}">
            <i class="fa fa-list"></i> {{ 'classification.list_mode'|trans({}, 'SonataClassificationBundle') }}
        </a>
        <a type="button" class="btn {% if mode == 'tree' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('tree') }}">
            <i class="fa fa-sitemap"></i> {{ 'classification.tree_mode'|trans({}, 'SonataClassificationBundle') }}
        </a>
    </div>
</p><commit_msg>Fix vertical centering of buttons within a navbar in list/tree selector<commit_after>{{ knp_menu_render(admin.sidemenu(action), {'currentClass' : 'active'}, 'list') }}
<div class="btn-group">
    <a type="button" class="navbar-btn btn {% if mode == 'list' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('list', { 'filter': { 'context': { 'value': current_category is defined ? current_category.context.id|default('') : '' }}}) }}">
        <i class="fa fa-list"></i> {{ 'classification.list_mode'|trans({}, 'SonataClassificationBundle') }}
    </a>
    <a type="button" class="navbar-btn btn {% if mode == 'tree' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('tree') }}">
        <i class="fa fa-sitemap"></i> {{ 'classification.tree_mode'|trans({}, 'SonataClassificationBundle') }}
    </a>
</div>
{'fraction_non_alphanumeric': 0.22935234699940582, 'fraction_numerical': 0.0, 'mean_word_length': 4.632107023411371, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3430286', 'n_tokens_mistral': 560, 'n_tokens_neox': 523, 'n_words': 119}