<commit_before><form ng-submit="save()" ng-class="{loading: loading}">
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label for="name"><NAME></label>
                <input id="name" class="form-control" type="text" ng-model="order.name" required>
            </div>
            <div class="form-group">
                <label for="client">Klient</label>
                <span ng-show="loadingClients" class="typeahead-loading"><i class="glyphicon glyphicon-refresh spinner"></i> Načítám klienty…</span>
                <div class="input-group">
                    <input id="client" class="form-control" type="text" ng-model="order.client" typeahead="client as client.fullName for client in loadClients($viewValue)" typeahead-editable="false" typeahead-loading="loadingClients" typeahead-wait-ms="300">
                    <span class="input-group-btn">
                        <button ng-click="addClient()" class="btn btn-success" type="button"><i class="glyphicon glyphicon-plus"></i> Nový klient</button>
                    </span>
                </div>
            </div>
            <div class="form-group">
                <label for="assignee">Vyřizuje</label>
                <span ng-show="loadingUsers" class="typeahead-loading"><i class="glyphicon glyphicon-refresh spinner"></i> Načítám uživatele…</span>
                <input id="assignee" class="form-control" type="text" ng-model="order.assignee" typeahead="assignee as assignee.fullName for assignee in loadUsers($viewValue)" typeahead-editable="false" typeahead-loading="loadingUsers" typeahead-wait-ms="300">
            </div>
            <div class="form-group">
                <label>Stav</label><br>
                <div class="btn-group">
                    <label class="btn btn-default" ng-model="order.state.slug" btn-radio="originalState">{{order.state.name}}</label>
                    <label ng-repeat="state in order.state.next" class="btn btn-default" ng-model="order.state.slug" btn-radio="state.slug">{{state.name}}</label>
                </div
                <input id="state" class="form-control" type="text" ng-model="order.state.slug">
            </div>
            <div class="form-group">
                <label for="place">Místo</label>
                <input id="place" class="form-control" type="text" ng-model="order.event.place">
            </div>
            <div class="form-group">
                <label for="date">Datum</label>
                <p class="input-group">
                    <input id="date" datepicker-popup="mediumDate" is-open="opened" class="form-control" type="text" ng-model="order.event.date">
                    <span class="input-group-btn">
                        <button type="button" class="btn btn-default" ng-click="openDatePicker($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                    </span>
                </p>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group"><commit_msg>turn off autocomplete for typeahead (closes #39, closes #37)<commit_after><form ng-submit="save()" ng-class="{loading: loading}">
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label for="name"><NAME></label>
                <input id="name" class="form-control" type="text" ng-model="order.name" required>
            </div>
            <div class="form-group">
                <label for="client">Klient</label>
                <span ng-show="loadingClients" class="typeahead-loading"><i class="glyphicon glyphicon-refresh spinner"></i> Načítám klienty…</span>
                <div class="input-group">
                    <input id="client" class="form-control" type="text" autocomplete="off" ng-model="order.client" typeahead="client as client.fullName for client in loadClients($viewValue)" typeahead-editable="false" typeahead-loading="loadingClients" typeahead-wait-ms="300">
                    <span class="input-group-btn">
                        <button ng-click="addClient()" class="btn btn-success" type="button"><i class="glyphicon glyphicon-plus"></i> Nový klient</button>
                    </span>
                </div>
            </div>
            <div class="form-group">
                <label for="assignee">Vyřizuje</label>
                <span ng-show="loadingUsers" class="typeahead-loading"><i class="glyphicon glyphicon-refresh spinner"></i> Načítám uživatele…</span>
                <input id="assignee" class="form-control" type="text" autocomplete="off" ng-model="order.assignee" typeahead="assignee as assignee.fullName for assignee in loadUsers($viewValue)" typeahead-editable="false" typeahead-loading="loadingUsers" typeahead-wait-ms="300">
            </div>
            <div class="form-group">
                <label>Stav</label><br>
                <div class="btn-group">
                    <label class="btn btn-default" ng-model="order.state.slug" btn-radio="originalState">{{order.state.name}}</label>
                    <label ng-repeat="state in order.state.next" class="btn btn-default" ng-model="order.state.slug" btn-radio="state.slug">{{state.name}}</label>
                </div
                <input id="state" class="form-control" type="text" ng-model="order.state.slug">
            </div>
            <div class="form-group">
                <label for="place">Místo</label>
                <input id="place" class="form-control" type="text" ng-model="order.event.place">
            </div>
            <div class="form-group">
                <label for="date">Datum</label>
                <p class="input-group">
                    <input id="date" datepicker-popup="mediumDate" is-open="opened" class="form-control" type="text" ng-model="order.event.date">
                    <span class="input-group-btn">
                        <button type="button" class="btn btn-default" ng-click="openDatePicker($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                    </span>
                </p>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
{'fraction_non_alphanumeric': 0.16470398451363122, 'fraction_numerical': 0.0032263268269075657, 'mean_word_length': 2.2648762506582414, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 137, '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': '3793398', 'n_tokens_mistral': 1851, 'n_tokens_neox': 1724, 'n_words': 319}