<commit_before><div class="container">

    <h2>
        <ul class="breadcrumb">
            <li><a href="/admin/filter">Filters</a></li>
            <li class="active">{{filter.name}}</li>
        </ul>
    </h2>

    <form novalidate name="myForm" class="form-horizontal">

        <?php echo $this->crudButtons('filter'); ?>

        <tabset style="margin-top: 20px" active="panes[0].active">
            <tab heading="General">

                <h2>Hierarchy <small> for {{filter.name}}</small></h2>

                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="parents">Parents</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model='filter.parents'
                                     name="parents"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>
                <br/>

                <div class="form-group"  ng-class="{'has-error': myForm.name.$invalid}">
                    <h4 class="control-label col-md-2" for="filter.name"><i class='fa fa-gims-filter' style='color:{{filter.color}}'></i> Filter Label</h4>
                    <div class="col-md-8">
                        <input type="text" name="name" ng-model="filter.name" required/>
                    </div>
                    <div class="col-md-2">
                        <div class='btn btn-default' colorpicker colorpicker-with-input="true" ng-model="filter.color" style='background-color:{{filter.color}}'><i class='fa fa-magic'></i> Color</div>
                    </div>

                </div>
                <div class="form-group"  ng-class="{'has-error': myForm.name.$invalid}">
                    <h4 class="control-label col-md-2" > </h4>
                    <div class="col-md-2">
                        <span ng-show="myForm.name.$error.required" class="help-block">Required</span>
                    </div>
                </div>

                <hr/>

                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="children">Children</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model="filter.children"
                                     name="children"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>

                <h2>Calculation</h2>
                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="summands">Summands</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model="filter.summands"
                                     name="summands"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>

                <h2>Organisation</small></h2>
                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="parents">Filter sets</label></small></h3>
                    <div class="col-md-8">
                        <gims-select    name='parents'
                                        api="filterSet"
                                        model="filter.filterSets"
                                        placeholder="Select parent"
                                        multiple
                                        style="width: 100%">
                        </gims-select>
                    </div>
                </div>
            </tab>

            <tab heading="Rule - Questionnaire" ng-if="filter.id">
                <gims-relations relation="FilterQuestionnaireUsage" properties="['filter', 'rule', 'questionnaire', 'part']" justification="true"></gims-relations>
            </tab>

            <tab heading="Rule - Country" ng-if="filter.id">
                <gims-relations relation="FilterGeonameUsage" properties="['filter', 'rule', 'geoname', 'part']" justification="true"></gims-relations>
            </tab>

        </tabset>

    </form>
</div><commit_msg>Remove text from color selection widget on filter crud page #2732<commit_after><div class="container">

    <h2>
        <ul class="breadcrumb">
            <li><a href="/admin/filter">Filters</a></li>
            <li class="active">{{filter.name}}</li>
        </ul>
    </h2>

    <form novalidate name="myForm" class="form-horizontal">

        <?php echo $this->crudButtons('filter'); ?>

        <tabset style="margin-top: 20px" active="panes[0].active">
            <tab heading="General">

                <h2>Hierarchy <small> for {{filter.name}}</small></h2>

                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="parents">Parents</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model='filter.parents'
                                     name="parents"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>
                <br/>

                <div class="form-group"  ng-class="{'has-error': myForm.name.$invalid}">
                    <h4 class="control-label col-md-2" for="filter.name"><i class='fa fa-gims-filter' style='color:{{filter.color}}'></i> Filter Label</h4>
                    <div class="col-md-8">
                        <input type="text" name="name" ng-model="filter.name" required/>
                    </div>
                    <div class="col-md-2">
                        <div class='btn btn-default' colorpicker colorpicker-with-input="true" ng-model="filter.color" style='background-color:{{filter.color}}'><i class='fa fa-magic'></i></div>
                    </div>

                </div>
                <div class="form-group"  ng-class="{'has-error': myForm.name.$invalid}">
                    <h4 class="control-label col-md-2" > </h4>
                    <div class="col-md-2">
                        <span ng-show="myForm.name.$error.required" class="help-block">Required</span>
                    </div>
                </div>

                <hr/>

                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="children">Children</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model="filter.children"
                                     name="children"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>

                <h2>Calculation</h2>
                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="summands">Summands</label></small></h3>
                    <div class="col-md-8">
                        <gims-filter model="filter.summands"
                                     name="summands"
                                     show-selection-path="true"
                                     show-edit-button="true"
                                     multiple>
                        </gims-filter>
                    </div>
                </div>

                <hr/>

                <h2>Organisation</small></h2>
                <div class="form-group" ng-hide="isChapter">
                    <h3><small><label class="control-label col-md-2" for="parents">Filter sets</label></small></h3>
                    <div class="col-md-8">
                        <gims-select    name='parents'
                                        api="filterSet"
                                        model="filter.filterSets"
                                        placeholder="Select parent"
                                        multiple
                                        style="width: 100%">
                        </gims-select>
                    </div>
                </div>
            </tab>

            <tab heading="Rule - Questionnaire" ng-if="filter.id">
                <gims-relations relation="FilterQuestionnaireUsage" properties="['filter', 'rule', 'questionnaire', 'part']" justification="true"></gims-relations>
            </tab>

            <tab heading="Rule - Country" ng-if="filter.id">
                <gims-relations relation="FilterGeonameUsage" properties="['filter', 'rule', 'geoname', 'part']" justification="true"></gims-relations>
            </tab>

        </tabset>

    </form>
</div>
{'fraction_non_alphanumeric': 0.14733640939597314, 'fraction_numerical': 0.008598993288590604, 'mean_word_length': 1.1645483431684067, 'pattern_counts': {'":': 0, '<': 227, '<?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': 34, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3820260', 'n_tokens_mistral': 2555, 'n_tokens_neox': 2340, 'n_words': 386}