<commit_before>{% extends 'FrontendBundle:Profile/Retailer/FactoryRelation:base.html.twig' %}

{% block title %}{{ ('frontend.title.' ~ (relation.id ? 'edit' : 'create'))|trans }} :: {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {{ parent() }}

    <a href="#">{{ ('frontend.title.' ~ (relation.id ? 'edit' : 'create'))|trans }}</a>
{% endblock %}

{% block page_content %}
    <div class="information-blocks">
        {{ form_start(form) }}
        {{ form_widget(form) }}
        {{ form_end(form) }}
    </div>
{% endblock %}<commit_msg>#382 add autocompete for request to factory field for retailers<commit_after>{% extends 'FrontendBundle:Profile/Retailer/FactoryRelation:base.html.twig' %}

{% block title %}{{ ('frontend.title.' ~ (relation.id ? 'edit' : 'create'))|trans }} :: {{ parent() }}{% endblock %}

{% block breadcrumb %}
    {{ parent() }}

    <a href="#">{{ ('frontend.title.' ~ (relation.id ? 'edit' : 'create'))|trans }}</a>
{% endblock %}

{% block page_content %}
    <div class="information-blocks">
        {{ form_start(form) }}
        {{ form_widget(form) }}
        {{ form_end(form) }}
    </div>
    {% if not relation.id %}
        <script type="text/javascript">
            (function ($) {
                $(document).ready(function () {
                    $('#retailer_factory_relation_factory').select2({
                        allowClear: false
                    });
                });
            })(jQuery);
        </script>
    {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.2084712111184646, 'fraction_numerical': 0.0026472534745201853, 'mean_word_length': 2.6346153846153846, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '145051', 'n_tokens_mistral': 497, 'n_tokens_neox': 457, 'n_words': 84}