<div class="btn-group" style="display: inline-block;">
    <a href="#" class="btn btn-xs btn-default dropdown-toggle" data-dropdown="locales" data-toggle="dropdown">
        {{ trans('streams::locale.' ~ field_type.locale ~ '.name') }}
    </a>
    <div class="dropdown-menu">
        {% for iso in config_get('streams::locales.enabled') %}
            <a class="dropdown-item {{ iso == config_get('streams::locales.default') ? 'active' }}"
               href="#"
               data-toggle="lang" lang="{{ iso }}">
                {{ trans('streams::locale.' ~ iso ~ '.name') }}
            </a>
        {% endfor %}
    </div>
</div>
