<commit_before><div class="btn-group">
    <button type="button" class="btn btn-primary" id="sidebar_save">
        <i class="fa fa-flag"></i> {{ __('contenttypes.generic.save', {'%contenttype%': context.contenttype.singular_name}) }}
    </button>

    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
        <span class="sr-only">Toggle Dropdown</span>
    </button>

    <ul class="dropdown-menu" role="menu">
        <li>
            <button type="submit" class="btn btn-link" id="save_return">
                <i class="fa fa-fw fa-flag"></i> {{ __('general.phrase.save-and-return-overview') }}
            </button>
        </li>

        <li>
            <button type="submit" class="btn btn-link" id="sidebar_save_create">
                <i class="fa fa-fw fa-flag"></i> {{ __('general.phrase.save-and-create-new-record') }}
            </button>
        </li>
    </ul>
</div><commit_msg>Remove dropdown options for singleton<commit_after><div class="btn-group">
    <button type="button" class="btn btn-primary" id="sidebar_save">
        <i class="fa fa-flag"></i> {{ __('contenttypes.generic.save', {'%contenttype%': context.contenttype.singular_name}) }}
    </button>

    {% if not context.contenttype.singleton %}
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
        <span class="caret"></span>
        <span class="sr-only">Toggle Dropdown</span>
    </button>

    <ul class="dropdown-menu" role="menu">
        <li>
            <button type="submit" class="btn btn-link" id="save_return">
                <i class="fa fa-fw fa-flag"></i> {{ __('general.phrase.save-and-return-overview') }}
            </button>
        </li>

        <li>
            <button type="submit" class="btn btn-link" id="sidebar_save_create">
                <i class="fa fa-fw fa-flag"></i> {{ __('general.phrase.save-and-create-new-record') }}
            </button>
        </li>
    </ul>
    {% endif %}
</div>
{'fraction_non_alphanumeric': 0.19103889709502708, 'fraction_numerical': 0.0, 'mean_word_length': 2.6481149012567324, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '4927556', 'n_tokens_mistral': 643, 'n_tokens_neox': 619, 'n_words': 121}