<commit_before>{% embed 'AppBundle:Components/Page:page-report.html.twig' %}
    
    {% set translationDomain = "report-assets" %}
    {% trans_default_domain translationDomain %}
    
    {% block pageTitle %}{{ 'page.htmlTitle' | trans }}{% endblock %}
    {% block contentClass %}{{ parent() }} js-report-assets-input{% endblock %}
    {% block title %}{{ 'page.pageSectionTitle' | trans({'%client%': report.client.firstname}, translationDomain) }}{% endblock %}
    
    {% block pageBody %}

        <p class="page-section-description">{{ 'page.pageSectionDescription' | trans({'%client%': report.client.firstname}, translationDomain) }}</p>


        {{ form_start(form, {attr: {novalidate: 'novalidate', class: 'in-page-form', id: 'asset-form-add-select-title' } }) }}
        
          <h3 class="heading-medium">{{ 'page.subSectionTitleAdd' | trans({}, translationDomain) }}</h3>

          {{ form_select(form.title, 'title') }}

        
          {% include 'AppBundle:Components/ButtonBar:_start.html.twig' with {'divId': 'asset-add-title-next-group'} %}
            {{ form_submit(form.next,'form.newAsset.controls.next', { 'buttonClass': '' }) }}
            
            {% if showCancelLink %}
              {% include 'AppBundle:Components/Link:_link-button.html.twig' with {
              transDomain: translationDomain,
              linkButtonLabel: 'cancel.label',
              linkClass: 'button-link',
              linkHref: path('assets', {'reportId': report.id})
              } %}
            {% endif %}

          {% include 'AppBundle:Components/ButtonBar:_end.html.twig' %}

        {{ form_end(form) }}
        
        <script type="text/javascript">
            $(document).ready(function () {
                
                var bodyLeftContent = $("#pagebody-left-content"),
                    assetTitleTitle = $('#asset_title_title'),
                    urlToLoadPattern,
                    urlToLoad,
                    selectedTitle;
                
                // when the dropdown changes, replace the pagebody-left-content with the result of the next page (add-complete)
                assetTitleTitle.change(function(event) {
                    selectedTitle = $(event.target).val();
                    if (selectedTitle === '') {
                        return;
                    }
                    
                    urlToLoadPattern = '{{ path('asset_add_complete', {'reportId': report.id, 'title' : '--placeholder--'}) }}';<commit_msg>fix label<commit_after>{% embed 'AppBundle:Components/Page:page-report.html.twig' %}
    
    {% set translationDomain = "report-assets" %}
    {% trans_default_domain translationDomain %}
    
    {% block pageTitle %}{{ 'page.htmlTitle' | trans }}{% endblock %}
    {% block contentClass %}{{ parent() }} js-report-assets-input{% endblock %}
    {% block title %}{{ 'page.pageSectionTitle' | trans({'%client%': report.client.firstname}, translationDomain) }}{% endblock %}
    
    {% block pageBody %}

        <p class="page-section-description">{{ 'page.pageSectionDescription' | trans({'%client%': report.client.firstname}, translationDomain) }}</p>


        {{ form_start(form, {attr: {novalidate: 'novalidate', class: 'in-page-form', id: 'asset-form-add-select-title' } }) }}
        
          <h3 class="heading-medium">{{ 'page.subSectionTitleAdd' | trans({}, translationDomain) }}</h3>

          {{ form_select(form.title, 'title') }}

        
          {% include 'AppBundle:Components/ButtonBar:_start.html.twig' with {'divId': 'asset-add-title-next-group'} %}
            {{ form_submit(form.next,'next', { 'buttonClass': '' }) }}
            
            {% if showCancelLink %}
              {% include 'AppBundle:Components/Link:_link-button.html.twig' with {
              transDomain: translationDomain,
              linkButtonLabel: 'cancel.label',
              linkClass: 'button-link',
              linkHref: path('assets', {'reportId': report.id})
              } %}
            {% endif %}

          {% include 'AppBundle:Components/ButtonBar:_end.html.twig' %}

        {{ form_end(form) }}
        
        <script type="text/javascript">
            $(document).ready(function () {
                
                var bodyLeftContent = $("#pagebody-left-content"),
                    assetTitleTitle = $('#asset_title_title'),
                    urlToLoadPattern,
                    urlToLoad,
                    selectedTitle;
                
                // when the dropdown changes, replace the pagebody-left-content with the result of the next page (add-complete)
                assetTitleTitle.change(function(event) {
                    selectedTitle = $(event.target).val();
                    if (selectedTitle === '') {
                        return;
                    }
                    
                    urlToLoadPattern = '{{ path('asset_add_complete', {'reportId': report.id, 'title' : '--placeholder--'}) }}';
{'fraction_non_alphanumeric': 0.1537998796871867, 'fraction_numerical': 0.0008020854220974534, 'mean_word_length': 2.043319097010372, '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': '6985715', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1308, 'n_words': 229}