<fieldset{% if fieldset.css_id %} id="{{ fieldset.css_id }}"{% endif %} class="fieldset{% if fieldset.css_class or form_style %} {{ fieldset.css_class }} {{ form_style }}{% endif %}" {{ fieldset.flat_attrs|safe }}>
    <legend>{{ legend|safe }}</legend>
    {{ fields|safe }}
</fieldset>
