<commit_before>{% extends 'base.html.twig' %}

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" href="{{ asset('vendor/bootstrap-datepicker-1.6.1/css/bootstrap-datepicker3.min.css') }}">
{% endblock %}

{% block javascripts %}
    {{ parent() }}

    <script src="{{ asset('vendor/bootstrap-datepicker-1.6.1/js/bootstrap-datepicker.min.js') }}"></script>

    <script>
        jQuery( document ).ready(function() {
            $(".js-datepicker [name='job_form[datePosted][date]']").datepicker({
                format: 'yyyy-mm-dd',
                weekStart: 1,
                autoclose: true,
                todayHighlight: true
            });
            $(".js-datepicker [name='job_form[step1_downloadedTime][date]']").datepicker({
                format: 'yyyy-mm-dd',
                weekStart: 1,
                autoclose: true,
                todayHighlight: true
            });
        });
    </script>
{% endblock %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <h1>New Job</h1>
            </div>
        </div>
    </div>

    {{ form_start(jobForm) }}

        {{ form_widget(jobForm) }}

        <button type="submit" class="btn btn-primary">Save</button>
    {{ form_end(jobForm) }}

{% endblock %}
<commit_msg>+using form_row(jobForm.*) instead of form_widget(jobForm)<commit_after>{% extends 'base.html.twig' %}

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" href="{{ asset('vendor/bootstrap-datepicker-1.6.1/css/bootstrap-datepicker3.min.css') }}">
{% endblock %}

{% block javascripts %}
    {{ parent() }}

    <script src="{{ asset('vendor/bootstrap-datepicker-1.6.1/js/bootstrap-datepicker.min.js') }}"></script>

    <script>
        jQuery( document ).ready(function() {
            $(".js-datepicker [name='job_form[datePosted][date]']").datepicker({
                format: 'yyyy-mm-dd',
                weekStart: 1,
                autoclose: true,
                todayHighlight: true
            });
            $(".js-datepicker [name='job_form[step1_downloadedTime][date]']").datepicker({
                format: 'yyyy-mm-dd',
                weekStart: 1,
                autoclose: true,
                todayHighlight: true
            });
        });
    </script>
{% endblock %}

{% block body %}
    <div class="container">
        <div class="row">
            <div class="col-xs-12">
                <h1>New Job</h1>
            </div>
        </div>
    </div>

    {{ form_start(jobForm) }}

        {{ form_row(jobForm.step1_project, {
            'label': 'Project name (original)'
        }) }}
        {{ form_row(jobForm.subFamily, {
            'label': 'Project name (normalized)'
        }) }}

        {{ form_row(jobForm.name) }}
        {{ form_row(jobForm.description) }}
        {{ form_row(jobForm.isPublished) }}
        {{ form_row(jobForm.datePosted) }}
        {{ form_row(jobForm.step1_id) }}
        {{ form_row(jobForm.step1_statistics) }}
        {{ form_row(jobForm.step1_downloadedTime) }}
        {{ form_row(jobForm.step1_html) }}
        {{ form_row(jobForm.step1_url) }}

        <button type="submit" class="btn btn-primary" formnovalidate>Save</button>
    {{ form_end(jobForm) }}

{% endblock %}

{'fraction_non_alphanumeric': 0.1756511205330103, 'fraction_numerical': 0.01029678982434888, 'mean_word_length': 2.0611677479147357, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3224117', 'n_tokens_mistral': 1091, 'n_tokens_neox': 990, 'n_words': 153}