<commit_before>{% extends 'MorozBlogBundle::baseBlogTemplate.html.twig' %}
{% block title %}Створення нового поста{% endblock %}
{% block body %}
    <form action="{{ path('blog_post_new') }}" method="post">
        {{ form_errors(form) }}
        <table>
            <tr>
                <td colspan="2" align="center"><strong>Створення нового поста</strong></td>
            </tr>
            <tr>
                <td>{{ form_label(form.title, 'Заголовок:') }}</td><td>{{ form_widget(form.title) }}</td>
            </tr>
            <tr>
                <td>{{ form_label(form.postedDate, 'Створено:') }}</td><td>{{ form_widget(form.postedDate) }}</td>
            <tr>
            <tr>
                <td>{{ form_label(form.author, 'Автор:') }}</td><td>{{ form_widget(form.author) }}</td>
            </tr>
            <tr>
                <td>{{ form_label(form.content, 'Текст:') }}</td><td>{{ form_widget(form.content) }}</td>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="Створити пост"></td>
            </tr>
        </table>
        {{ form_rest(form) }}
    </form>
{% endblock %}<commit_msg>added {% trans%} {% endtrans%} for translate page "new post"<commit_after>{% extends 'MorozBlogBundle::baseBlogTemplate.html.twig' %}
{% block title %}{% trans %}Створення нового поста{% endtrans %}{% endblock %}
{% block body %}
    <form action="{{ path('blog_post_new') }}" method="post">
        {{ form_errors(form) }}
        <table>
            <tr>
                <td colspan="2" align="center"><strong>{% trans %}Створення нового поста{% endtrans %}</strong></td>
            </tr>
            <tr>
                <td>{{ form_label(form.title, 'Заголовок:') }}</td><td>{{ form_widget(form.title) }}</td>
            </tr>
            <tr>
                <td>{{ form_label(form.postedDate, 'Створено:') }}</td><td>{{ form_widget(form.postedDate) }}</td>
            <tr>
            <tr>
                <td>{{ form_label(form.author, 'Автор:') }}</td><td>{{ form_widget(form.author) }}</td>
            </tr>
            <tr>
                <td>{{ form_label(form.content, 'Текст:') }}</td><td>{{ form_widget(form.content) }}</td>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="{% trans %}Створити пост{% endtrans %}"></td>
            </tr>
        </table>
        {{ form_rest(form) }}
    </form>
{% endblock %}

{'fraction_non_alphanumeric': 0.21030927835051547, 'fraction_numerical': 0.0016494845360824743, 'mean_word_length': 2.154746423927178, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '4736617', 'n_tokens_mistral': 853, 'n_tokens_neox': 806, 'n_words': 151}