{% spaceless %}
<div{% if buttongroup.css_id %} id="{{ buttongroup.css_id }}"{% endif %} class="button-group{% if buttongroup.css_class %} {{ buttongroup.css_class }}{% endif %}">
{% for field_item in field_list %}
    {{ field_item|safe }}
{% endfor %}
</div>
{% endspaceless %}
