<commit_before>{% extends app.request.get('_dashboard')=='DMS'
? 'NumaDOADMSBundle::layout.html.twig'
: 'NumaDOAAdminBundle::layout.html.twig' %}
 {% form_theme edit_form 'bootstrap_3_horizontal_layout.html.twig' %}
{% block content %}
    <h1>Image Carousel Edit</h1>

    {{ form(edit_form) }}

    {% if(app.request.get('_dashboard')=='DMS') %}
        <a href="{{ path('dms_imagecarousel') }}" class="btn btn-primary">
            Back to the carousel
        </a>
    {% else %}
        <a href="{{ path('imagecarousel') }}" class="btn btn-primary">
            Back to the carousel
        </a>
    {% endif %}

{% endblock %}
<commit_msg>Back button fix<commit_after>{% extends app.request.get('_dashboard')=='DMS'
? 'NumaDOADMSBundle::layout.html.twig'
: 'NumaDOAAdminBundle::layout.html.twig' %}
 {% form_theme edit_form 'bootstrap_3_horizontal_layout.html.twig' %}
{% block content %}
    <h1>Image Carousel Edit</h1>

    {{ form(edit_form) }}

    {% if(app.request.get('_dashboard')=='DMS') %}
        <a href="{{ path('component_edit', { 'id': entity.componentId() }) }}" class="btn btn-primary">
            Back to the component edit
        </a>
    {% else %}
        <a href="{{ path('imagecarousel') }}" class="btn btn-primary">
            Back to the carousel
        </a>
    {% endif %}

{% endblock %}

{'fraction_non_alphanumeric': 0.19065561416729465, 'fraction_numerical': 0.00452147701582517, 'mean_word_length': 3.242811501597444, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '6890009', 'n_tokens_mistral': 476, 'n_tokens_neox': 445, 'n_words': 81}