{% import "_includes/forms" as forms %}

{% if sections|length %}
    {% set sectionRows = [] %}
    {% for sectionInfo in sections %}
        {% set section = sectionInfo.section %}
        {% set sectionSettings = settings.getSection(section.uid) %}
        {% set idPrefix = 'sections-'~section.handle %}
        {% set namePrefix = 'sections['~section.handle~']' %}

        {# If the section is enabled, add a blank author option to the top in case the selected author no longer exists #}
        {% set aut