<commit_before>{% extends '@pulsar/pulsar/components/tab.html.twig' %}

{% block tab_content %}
    <div class="form__group">
        <label class="control__label">Basic table</label>
        <div class="controls">
            <table class="table">
                <thead>
                    <tr>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">Basic table (full)</label>
        <div class="controls">
            <table class="table table--full">
                <thead>
                    <tr>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">DataTable</label>
        <div class="controls">
            <table class="table datatable table--full">
                <thead>
                    <tr>
                        <th class="table-responsive"></th>
                        <th class="table-selection"></th>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">Repeatable</label>
        <div class="controls">
            <table class="table">
                <thead>
                    <tr>
                        <th>Default</th>
                        <th>Label</th>
                        <th>Value</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                </tbody>
                <tfoot class="table__form">
                    <tr>
                        <td colspan="99">

                            {{
                                form.fieldset_start({'legend': 'New choice'})
                            }}

                            {{
                                form.text({
                                    'label': 'Label',
                                    'help': 'The name of the choice, displayed to the user'
                                })
                            }}

                            {{
                                form.text({
                                    'label': 'Value',
                                    'help': 'The data to save when this is selected'<commit_msg>[Lexicon] Fix table choice example<commit_after>{% extends '@pulsar/pulsar/components/tab.html.twig' %}

{% block tab_content %}
    <div class="form__group">
        <label class="control__label">Basic table</label>
        <div class="controls">
            <table class="table">
                <thead>
                    <tr>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">Basic table (full)</label>
        <div class="controls">
            <table class="table table--full">
                <thead>
                    <tr>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">DataTable</label>
        <div class="controls">
            <table class="table datatable table--full">
                <thead>
                    <tr>
                        <th class="table-responsive"></th>
                        <th class="table-selection"></th>
                        <th>Label</th>
                        <th>Value</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                    <tr>
                        <td class="table-responsive">
                            {{ html.icon('plus-sign', { 'class': 'table-child-toggle' }) }}
                        </td>
                        <td class="table-selection">
                            {{ html.icon('unchecked', { 'class': 'table-row-select js-select' }) }}
                        </td>
                        <td>my_label</td>
                        <td>my_value</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div class="form__group">
        <label class="control__label">Repeatable</label>
        <div class="controls">
            <table class="table">
                <thead>
                    <tr>
                        <th>Default</th>
                        <th>Label</th>
                        <th>Value</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true, 'name': 'foo' }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true, 'name': 'foo' }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                    <tr>
                        <td class="shrink-to-fit centered">{{ form.radio({ 'bare': true, 'name': 'foo' }) }}</td>
                        <td>my_label</td>
                        <td>my_value</td>
                        <td class="centered">
                            {{ html.edit_button({ 'placement': 'left' }) }}
                            {{ html.remove_button({ 'placement': 'right' }) }}
                        </td>
                    </tr>
                </tbody>
                <tfoot class="table__form">
                    <tr>
                        <td colspan="99">

                            {{
                                form.fieldset_start({'legend': 'New choice'})
                            }}

                            {{
                                form.text({
                                    'label': 'Label',
                                    'help': 'The name of the choice, displayed to the user'
                                })
                            }}

                            {{
                                form.text({
                                    'label': 'Value',
                                    'help': 'The data to save when this is selected'
{'fraction_non_alphanumeric': 0.13480543545398394, 'fraction_numerical': 0.00030883261272390367, 'mean_word_length': 0.7319160315550207, 'pattern_counts': {'":': 0, '<': 355, '<?xml version=': 0, '>': 355, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7238361', 'n_tokens_mistral': 3292, 'n_tokens_neox': 2991, 'n_words': 525}