<commit_before><section id="hire-us-widget" class="hire_us-form">
    <div class="wrap_form">
        <div class="wrap_close">
        <svg viewBox="0 0 20 20" fill="#fff" class="close-hire_us">
            <path class="icon-close-nav"
                  d="M19.53 18.47l.53.53L19 20.06l-.53-.53L10 11.06l-8.47 8.47-.53.53L-.06 19l.53-.53L8.94 10 .47 1.53-.06 1 1-.06l.53.53L10 8.94 18.47.47 19-.06 20.06 1l-.53.53L11.06 10l8.47 8.47zm0 0"></path>
        </svg>
            </div>
        {% if slug is not defined or slug is null %}
            {% set slug = 'project'%}
        {% endif %}
        <form id="hire-us-form" class="webdev-form feedback-form" data-url="{{ path('ajax_hire_us') }}" method="post">
            <div class="form-pad">
                <h2>{{ 'Заказать проект'|trans }}</h2>
                <div class="line line-mob">
                    <div class="col2 float-left">
                        {{ form_widget(form.name, {'attr': {'placeholder': 'Ваше имя'|trans} }) }}
                    </div>
                    <div class="col2 float-right">
                        {{ form_widget(form.email, {'attr': {'class' : 'email', 'placeholder': 'Электронная почта'|trans} }) }}
                    </div>
                </div>
                <div class="line">
                    {{ form_widget(form.message, {'attr': {'placeholder': 'Опишите ваш проект'|trans, 'rows':'1'} }) }}
                </div>
                <div class="google-captcha">
                    {{ form_widget(form.captcha, {'theme': 'dark' }) }}
                </div>
                <div class="line">
                    {% if slug != 'main_page' %}
                        {% set slug = '' %}
                    {% endif %}
                    <button class="btn send-request"
                            style="display: none;">{{ 'Отправить заявку'|trans }}
                    </button>
                </div>
                <div class="line">
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ 'Позвонить'|trans }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item">
                                        <a href="tel:+380 67 334-40-40" class="phone-link">+380 67 334-40-40</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ "Skype" | trans() }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item"><a href="skype:stfalcon.sales?call">stfalcon.sales</a></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ "Написать" | trans() }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item"><a href="mailto:<EMAIL>"><EMAIL></a></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-success">
                <div class="wr">
                    <div class="inner-pad">
                        <h2>{{ 'Спасибо!'|trans }}</h2>
                        <p>{{ 'Мы изучим Вашу заявку'|trans }}<br>{{ 'и ответим в ближайшее время'|trans }}.</p>
                    </div>
                </div>
            </div>
            {{ form_rest(form) }}
        </form>
    </div>
</section>

<script>
    var showSubmitButton = function () {
        $('.send-request').show();
    }
</script><commit_msg>Add fields translate<commit_after><section id="hire-us-widget" class="hire_us-form">
    <div class="wrap_form">
        <div class="wrap_close">
        <svg viewBox="0 0 20 20" fill="#fff" class="close-hire_us">
            <path class="icon-close-nav"
                  d="M19.53 18.47l.53.53L19 20.06l-.53-.53L10 11.06l-8.47 8.47-.53.53L-.06 19l.53-.53L8.94 10 .47 1.53-.06 1 1-.06l.53.53L10 8.94 18.47.47 19-.06 20.06 1l-.53.53L11.06 10l8.47 8.47zm0 0"></path>
        </svg>
            </div>
        {% if slug is not defined or slug is null %}
            {% set slug = 'project'%}
        {% endif %}
        <form id="hire-us-form" class="webdev-form feedback-form" data-url="{{ path('ajax_hire_us') }}" method="post">
            <div class="form-pad">
                <h2>{{ 'Заказать проект'|trans }}</h2>
                <div class="line line-mob">
                    <div class="col2 float-left">
                        {{ form_widget(form.name, {'attr': {'placeholder': 'Ваше имя'|trans, 'oninvalid': 'InvalidMsg(this);', 'oninput': 'InvalidMsg(this);' }}) }}
                    </div>
                    <div class="col2 float-right">
                        {{ form_widget(form.email, {'attr': {'class' : 'email', 'placeholder': 'Электронная почта'|trans, 'oninvalid': 'InvalidMsg(this);', 'oninput': 'InvalidMsg(this);' } }) }}
                    </div>
                </div>
                <div class="line">
                    {{ form_widget(form.message, {'attr': {'placeholder': 'Опишите ваш проект'|trans, 'oninvalid': 'InvalidMsg(this);', 'oninput': 'InvalidMsg(this);' , 'rows':'1'} }) }}
                </div>
                <div class="google-captcha">
                    {{ form_widget(form.captcha, {'theme': 'dark' }) }}
                </div>
                <div class="line">
                    {% if slug != 'main_page' %}
                        {% set slug = '' %}
                    {% endif %}
                    <button class="btn send-request"
                            style="display: none;">{{ 'Отправить заявку'|trans }}
                    </button>
                </div>
                <div class="line">
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ 'Позвонить'|trans }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item">
                                        <a href="tel:+380 67 334-40-40" class="phone-link">+380 67 334-40-40</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ "Skype" | trans() }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item"><a href="skype:stfalcon.sales?call">stfalcon.sales</a></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col3">
                        <div class="contacts-info">
                            <div class="contacts-info__cell">
                                <div class="contacts-info__left">{{ "Написать" | trans() }}:</div>
                                <div class="contacts-info__right">
                                    <div class="contacts-info__item"><a href="mailto:<EMAIL>"><EMAIL></a></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-success">
                <div class="wr">
                    <div class="inner-pad">
                        <h2>{{ 'Спасибо!'|trans }}</h2>
                        <p>{{ 'Мы изучим Вашу заявку'|trans }}<br>{{ 'и ответим в ближайшее время'|trans }}.</p>
                    </div>
                </div>
            </div>
            {{ form_rest(form) }}
        </form>
    </div>
</section>

<script>
    var showSubmitButton = function () {
        $('.send-request').show();
    };
    function InvalidMsg(textbox) {
        if (textbox.value === '') {
            textbox.setCustomValidity("{{ 'Заполните это поле'|trans }}");
        } else if (textbox.validity.typeMismatch) {
            textbox.setCustomValidity("{{ 'Недопустимый адрес электронной почты'|trans }}");
        } else {
            textbox.setCustomValidity('');
        }
    }
</script>
{'fraction_non_alphanumeric': 0.15826950048548927, 'fraction_numerical': 0.03107131297874636, 'mean_word_length': 1.1513112090972384, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 181, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '143774', 'n_tokens_mistral': 2893, 'n_tokens_neox': 2564, 'n_words': 479}