<div class="{{ classes }}" id="{{ name }}_holder">
    <label for="{{ options.id }}" class="col-sm-4 control-label">{{ label }}</label>

    <div class="col-sm-8">
        {% for groupName, accounts in grouped %}
            <strong>{{ groupName }}</strong><br/>
            {% for id, account in accounts %}
                <div class="checkbox" style="margin-left:2em;">
                    <label>
                        {% if account in selected or (selected|length == 0 and options.select_all == true) %}
                            {{ Html.checkbox(name~'[]',true, id).id(id) }}
                        {% else %}
                            {{ Html.checkbox(name~'[]',false, id).id(id) }}
                        {% endif %}
                        {{ account|escape }}
                    </label>
                </div>
            {% endfor %}
        {% endfor %}
        {% include 'form.help' %}
        {% include 'form.feedback' %}

    </div>
</div>
