{% load rest_framework %}
<fieldset>
    {% if field.label %}<legend {% if field.style.hide_label %}class="sr-only"{% endif %}>{{ field.label }}</legend>{% endif %}
    {% for nested_field in field %}
        {% render_field nested_field layout=layout renderer=renderer %}
    {% endfor %}
</fieldset>
