<li class="accordion-item{% if div.active %} is-active{% endif %}" data-accordion-item>
    <a class="accordion-title">{{ div.name|capfirst }}{% if div.item_has_errors %} <span class="alert badge">!</span>{% endif %}</a>
    <div class="accordion-content" data-tab-content>
        {{ fields|safe }}
    </div>
</li>
