<commit_before><form id="dvs-sidebar-field-form">

    <h3>Available Values</h3>

    <div class="dvs-editor-values">
        <div class="dvs-checkboxes" id="dvs-sample-checkbox-group">

            {{#each field.checkboxes}}
                <div class="dvs-checkbox">
                    <input type="hidden" name="{{ key }}" value="0">
                    <label>
                        <input type="checkbox" value="{{ default }}">
                        <span>{{ label }}</span>
                    </label>
                </div>
            {{/each}}
        </div>
    </div>

    <hr>

    <div class="dvs-editor-settings">

        <table class="dvs-checkboxes-manager">
            <thead>
                <tr>
                    <th>Key</th>
                    <th>Label</th>
                    <th>Default</th>
                    <th><button type="button" class="dvs-button dvs-button-small dvs-new-checkbox dvs-button-secondary">New</button></th>
                </tr>
            </thead>
            <tbody>
                {{#each field.checkboxes }}
                    <tr class="dvs-checkbox-fields">
                        <td>
                            <input type="text" name="checkboxes[][key]" value="{{ key }}">
                        </td>
                        <td>
                            <input type="text" name="checkboxes[][label]" value="{{ label }}">
                        </td>
                        <td>
                            <select name="checkboxes[][default]" class="dvs-select dvs-select-small">
                                {{#select default}}
                                    <option value="0">Off</option>
                                    <option value="1">On</option>
                                {{/select}}
                            </select>
                        </td>
                        <td>
                            <button type="button" class="dvs-button dvs-button-small dvs-table-row-delete">Delete</button>
                        </td>
                    </tr>
                {{/each}}
            </tbody>
        </table>

        <div data-view="site-wide-field"></div>

        <div data-view="content-requested"></div>

        <div data-view="reset-values"></div>

    </div>
</form>

<!-- templates for adding new checkbox groups -->
<div style="display:none">
    <table>
        <tbody class="dvs-row-template">
            <tr class="dvs-checkbox-fields">
                <td><input type="text" name="checkboxes[][key]"></td>
                <td><input type="text" name="checkboxes[][label]"></td>
                <td>
                    <select name="checkboxes[][default]" class="dvs-select dvs-select-small">
                        <option value="0">Off</option>
                        <option value="1">On</option>
                    </select>
                </td>
                <td>
                    <button type="button" class="dvs-button dvs-button-small dvs-table-row-delete">Delete</button>
                </td>
            </tr>
        </tbody>
    </table>

    <div class="dvs-checkbox-template">
        <div class="dvs-checkbox">
            <input type="hidden">
            <label>
                <input type="checkbox">
                <span></span>
            </label>
        </div>
    </div>
</div>

{{#script}}
    devise.require(['app/editor/sidebar/checkbox-group'], function(obj){ obj.init(); });
{{/script}}<commit_msg>Fixed path of checkbox group javascript<commit_after><form id="dvs-sidebar-field-form">

    <h3>Available Values</h3>

    <div class="dvs-editor-values">
        <div class="dvs-checkboxes" id="dvs-sample-checkbox-group">

            {{#each field.checkboxes}}
                <div class="dvs-checkbox">
                    <input type="hidden" name="{{ key }}" value="0">
                    <label>
                        <input type="checkbox" value="{{ default }}">
                        <span>{{ label }}</span>
                    </label>
                </div>
            {{/each}}
        </div>
    </div>

    <hr>

    <div class="dvs-editor-settings">

        <table class="dvs-checkboxes-manager">
            <thead>
                <tr>
                    <th>Key</th>
                    <th>Label</th>
                    <th>Default</th>
                    <th><button type="button" class="dvs-button dvs-button-small dvs-new-checkbox dvs-button-secondary">New</button></th>
                </tr>
            </thead>
            <tbody>
                {{#each field.checkboxes }}
                    <tr class="dvs-checkbox-fields">
                        <td>
                            <input type="text" name="checkboxes[][key]" value="{{ key }}">
                        </td>
                        <td>
                            <input type="text" name="checkboxes[][label]" value="{{ label }}">
                        </td>
                        <td>
                            <select name="checkboxes[][default]" class="dvs-select dvs-select-small">
                                {{#select default}}
                                    <option value="0">Off</option>
                                    <option value="1">On</option>
                                {{/select}}
                            </select>
                        </td>
                        <td>
                            <button type="button" class="dvs-button dvs-button-small dvs-table-row-delete">Delete</button>
                        </td>
                    </tr>
                {{/each}}
            </tbody>
        </table>

        <div data-view="site-wide-field"></div>

        <div data-view="content-requested"></div>

        <div data-view="reset-values"></div>

    </div>
</form>

<!-- templates for adding new checkbox groups -->
<div style="display:none">
    <table>
        <tbody class="dvs-row-template">
            <tr class="dvs-checkbox-fields">
                <td><input type="text" name="checkboxes[][key]"></td>
                <td><input type="text" name="checkboxes[][label]"></td>
                <td>
                    <select name="checkboxes[][default]" class="dvs-select dvs-select-small">
                        <option value="0">Off</option>
                        <option value="1">On</option>
                    </select>
                </td>
                <td>
                    <button type="button" class="dvs-button dvs-button-small dvs-table-row-delete">Delete</button>
                </td>
            </tr>
        </tbody>
    </table>

    <div class="dvs-checkbox-template">
        <div class="dvs-checkbox">
            <input type="hidden">
            <label>
                <input type="checkbox">
                <span></span>
            </label>
        </div>
    </div>
</div>

{{#script}}
    devise.require(['app/editor/fields/checkbox-group'], function(obj){ obj.init(); });
{{/script}}
{'fraction_non_alphanumeric': 0.15971326164874552, 'fraction_numerical': 0.002007168458781362, 'mean_word_length': 1.1923318667504714, 'pattern_counts': {'":': 0, '<': 203, '<?xml version=': 0, '>': 203, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5451480', 'n_tokens_mistral': 1925, 'n_tokens_neox': 1797, 'n_words': 324}