<commit_before>{% extends admin_templates_base %}
{% trans_default_domain 'FSiAdminBundle' %}

{% block themes %}
    {% datasource_route datasource_view 'fsi_admin_list' with {'element' : element.id} %}
    {% datasource_theme datasource_view admin_templates_datasource_theme %}
    {% datagrid_theme datagrid_view admin_templates_datagrid_theme with {'datasource' : datasource_view, 'element' : element.id} %}
{% endblock themes %}

{% block above_content %}
    {% block filter %}
        {% if datasource_filter_count(datasource_view) > 0 %}
        <div class="row" id="filter">
            <div class="col-lg-12">
                <form class="form-inline filters" method="GET" action="{{ path(element.route, element.routeParameters) }}">
                    <div class="pull-right hidden-xs">
                        <button type="submit" class="btn btn-primary">{{ 'crud.list.datasource.search'|trans }}</button>
                        <a href="{{ path(element.route, element.routeParameters) }}" class="btn btn-default">{{ 'crud.list.datasource.clear'|trans }}</a>
                    </div>
                    {{ datasource_filter_widget(datasource_view) }}
                    <div class="visible-xs submit-buttons">
                        <button type="submit" class="btn btn-primary">{{ 'crud.list.datasource.search'|trans }}</button>
                        <a href="{{ path(element.route, element.routeParameters) }}" class="btn btn-default">{{ 'crud.list.datasource.clear'|trans }}</a>
                    </div><commit_msg>Use admin element to generate route for datasource<commit_after>{% extends admin_templates_base %}
{% trans_default_domain 'FSiAdminBundle' %}

{% block themes %}
    {% datasource_route datasource_view element.getRoute() with element.getRouteParameters() %}
    {% datasource_theme datasource_view admin_templates_datasource_theme %}
    {% datagrid_theme datagrid_view admin_templates_datagrid_theme with {'datasource' : datasource_view} %}
{% endblock themes %}

{% block above_content %}
    {% block filter %}
        {% if datasource_filter_count(datasource_view) > 0 %}
        <div class="row" id="filter">
            <div class="col-lg-12">
                <form class="form-inline filters" method="GET" action="{{ path(element.route, element.routeParameters) }}">
                    <div class="pull-right hidden-xs">
                        <button type="submit" class="btn btn-primary">{{ 'crud.list.datasource.search'|trans }}</button>
                        <a href="{{ path(element.route, element.routeParameters) }}" class="btn btn-default">{{ 'crud.list.datasource.clear'|trans }}</a>
                    </div>
                    {{ datasource_filter_widget(datasource_view) }}
                    <div class="visible-xs submit-buttons">
                        <button type="submit" class="btn btn-primary">{{ 'crud.list.datasource.search'|trans }}</button>
                        <a href="{{ path(element.route, element.routeParameters) }}" class="btn btn-default">{{ 'crud.list.datasource.clear'|trans }}</a>
                    </div>
{'fraction_non_alphanumeric': 0.1485659039639059, 'fraction_numerical': 0.0019336126329358686, 'mean_word_length': 2.8273736128236746, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '505002', 'n_tokens_mistral': 940, 'n_tokens_neox': 846, 'n_words': 167}