<commit_before>{% extends "ProjectAppBundle::layout.html.twig" %}

{% block main %}
    <h2>Promotion edit</h2>

    {{ form(edit_form) }}

    <a href="{{ path('promotion') }}">Retour à la liste</a>
    
    {{ form(delete_form) }}
{% endblock %}<commit_msg>Design for edit form<commit_after>{% extends "ProjectAppBundle::layout.html.twig" %}

{% block content %}

    <div class="panel-group">
        <div class="panel-item">
            <div class="panel-header">
                <h1>Modifier une promotion</h1>
            </div>
            <div class="panel-content">

                <div class="panel-form">

                    {{ form_start(edit_form) }}
                    {# Errors #}
                    <div class="form-item">
                        {{ form_errors(edit_form)}}
                    </div>
                    <div class="form-item">
                        {{ form_row(edit_form.startDate) }}
                    </div>
                    <div class="form-item">
                        {{ form_row(edit_form.endDate) }}
                    </div>
                    <div class="form-item">
                        {{ form_row(edit_form.formation) }}
                    </div>

                    {# Buttons #}
                    <div class="form-item last">
                        {{ form_row(edit_form.submit) }}
                        <br/>
                        {{ form(delete_form) }}
                    </div>
                    {{ form_end(edit_form) }}
                </div>

            </div>
        </div>
    </div>
    <a href="{{ path('promotion') }}" class="btn btn-default">Annuler</a>

{% endblock %}
{'fraction_non_alphanumeric': 0.15213469633193025, 'fraction_numerical': 0.0024052916416115455, 'mean_word_length': 1.230563002680965, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '5216238', 'n_tokens_mistral': 484, 'n_tokens_neox': 443, 'n_words': 76}