<commit_before><div id="container_create" ng-controller="packCreate">
    <div id="create_event">
        <div id="block_menu">
            <ul>

                <li id="bar-menu-1" class="activeAfter"><i class="fa fa-calendar-o"></i><span>Event</span></li>
                <li id="bar-menu-2"><i class="fa fa-home"></i><span>Hosting</span></li>
                <li id="bar-menu-3"><i class="fa fa-car"></i><span>Transport</span></li>
                <li id="bar-menu-4"><i class="fa fa-users"></i><span>Contributors</span></li>
                <li id="bar-menu-5"><i class="fa fa-cog"></i><span><span id="options">More</span> Options</span></li>
                <li id="bar-menu-6"><div id="bouton-create"><a id="final-step" href="recap_pack.html">Create my pack</a></div></li>
            </ul>
        </div>

        <div id="block_formu">
            <div id="formulaire">
                <div class="block_formu_parti">
                    <h2>Create an Event</h2>

                    <div id="formu_event">
                        <form id="formu1" method="post" action="traitement.php">
                            <input type="text" class="champs" placeholder="Name..." ng-model="eventName"> 
                            <input type="text" class="champs" placeholder="Location..." ng-model="eventLocation"> 
                            <input type="number" class="champs" placeholder="Price per person..." ng-model="eventPrice"> 
                            <input type="datetime-local" class="champs datestart" ng-model="eventStartDate"> 
                            <input type="datetime-local" class="champs datesend" ng-model="eventEndDate"> 
                            <textarea name="description" class="champs" placeholder="Description..." ng-model="eventDesc"></textarea>
                        </form>
                    </div>
                </div>

                <div class="block_formu_parti" id="block_formu_parti_2">
                    <h2>Or choose an Event</h2>

                    <div id="bar-search">
                        <form id="formu" method="post" action="">
                            <input type="search" class="champs" placeholder="Search an event..." ng-model="search" ng-change="update()">
                        </form>
                    </div>

                    <h3 class="title_favorite_event">Your favorite Events</h3>

                    <div class="spinner white">
                        <div class="rect1"></div>
                        <div class="rect2"></div>
                        <div class="rect3"></div>
                        <div class="rect4"></div>
                        <div class="rect5"></div>
                    </div>

                    <div class="vignettes" ng-repeat="event in data.events track by $index" >
                        <ul>
                            <li ng-repeat="photos in event.events_medias track by $index|limitTo:1" style="background: url({{photos.medias_file}})" ng-click="fillform($event)" data-id="{{event.events_id}}"></li>
                        </ul>

                        <div class="cercle" ><img class="check" width="16" src="<?= HTML::link('default/images/check.png') ?>" alt="" ></div>

                        <div class="titre_vignettes">
                            {{event.events_name}}
                        </div>
                    </div>
                </div>

                <div class="clear"></div>
            </div>

            <div id="formulaire-host">
                <h2>Choose your hosting</h2>

                <div class="icones-formu">
                    <img src="<?= HTML::link('default/images/maison.png') ?>" alt="">

                    <p>Guesthouse</p>
                </div>

                <div class="icones-formu seconde-icone">
                    <img src="<?= HTML::link('default/images/lit2.png') ?>" alt="">

                    <p>Simple</p><commit_msg>Fix fill form when click on event title<commit_after><div id="container_create" ng-controller="packCreate">
    <div id="create_event">
        <div id="block_menu">
            <ul>

                <li id="bar-menu-1" class="activeAfter"><i class="fa fa-calendar-o"></i><span>Event</span></li>
                <li id="bar-menu-2"><i class="fa fa-home"></i><span>Hosting</span></li>
                <li id="bar-menu-3"><i class="fa fa-car"></i><span>Transport</span></li>
                <li id="bar-menu-4"><i class="fa fa-users"></i><span>Contributors</span></li>
                <li id="bar-menu-5"><i class="fa fa-cog"></i><span><span id="options">More</span> Options</span></li>
                <li id="bar-menu-6"><div id="bouton-create"><a id="final-step" href="recap_pack.html">Create my pack</a></div></li>
            </ul>
        </div>

        <div id="block_formu">
            <div id="formulaire">
                <div class="block_formu_parti">
                    <h2>Create an Event</h2>

                    <div id="formu_event">
                        <form id="formu1" method="post" action="traitement.php">
                            <input type="text" class="champs" placeholder="Name..." ng-model="eventName"> 
                            <input type="text" class="champs" placeholder="Location..." ng-model="eventLocation"> 
                            <input type="number" class="champs" placeholder="Price per person..." ng-model="eventPrice"> 
                            <input type="datetime-local" class="champs datestart" ng-model="eventStartDate"> 
                            <input type="datetime-local" class="champs datesend" ng-model="eventEndDate"> 
                            <textarea name="description" class="champs" placeholder="Description..." ng-model="eventDesc"></textarea>
                        </form>
                    </div>
                </div>

                <div class="block_formu_parti" id="block_formu_parti_2">
                    <h2>Or choose an Event</h2>

                    <div id="bar-search">
                        <form id="formu" method="post" action="">
                            <input type="search" class="champs" placeholder="Search an event..." ng-model="search" ng-change="update()">
                        </form>
                    </div>

                    <h3 class="title_favorite_event">Your favorite Events</h3>

                    <div class="spinner white">
                        <div class="rect1"></div>
                        <div class="rect2"></div>
                        <div class="rect3"></div>
                        <div class="rect4"></div>
                        <div class="rect5"></div>
                    </div>

                    <div class="vignettes" ng-repeat="event in data.events track by $index" >
                        <ul>
                            <li ng-repeat="photos in event.events_medias track by $index|limitTo:1" style="background: url({{photos.medias_file}})" ng-click="fillform($event)" data-id="{{event.events_id}}"></li>
                        </ul>

                        <div class="cercle" ><img class="check" width="16" src="<?= HTML::link('default/images/check.png') ?>" alt="" ></div>

                        <div class="titre_vignettes" ng-click="fillform($event)" data-id="{{event.events_id}}">
                            {{event.events_name}}
                        </div>
                    </div>
                </div>

                <div class="clear"></div>
            </div>

            <div id="formulaire-host">
                <h2>Choose your hosting</h2>

                <div class="icones-formu">
                    <img src="<?= HTML::link('default/images/maison.png') ?>" alt="">

                    <p>Guesthouse</p>
                </div>

                <div class="icones-formu seconde-icone">
                    <img src="<?= HTML::link('default/images/lit2.png') ?>" alt="">

                    <p>Simple</p>
{'fraction_non_alphanumeric': 0.16826196473551638, 'fraction_numerical': 0.006297229219143577, 'mean_word_length': 1.5509155155798264, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 0, '>': 229, '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': '7360058', 'n_tokens_mistral': 2271, 'n_tokens_neox': 2120, 'n_words': 390}