{% macro render(row, submission) %}
    {% import "_includes/forms" as forms %}

    <div class="fields-row">
        {%- for field in row.allFields -%}
            {{ field.renderContainerOpeningTag({
                attributes: {
                    container: {
                        class: [
                            'fields-column',
                            field.required ? 'field-required',
                        ],
                    },
                },
            }) }}

                {{ craft.freeformSubmissions.renderSubmissionField(field, submission) }}

            {{ field.renderContainerClosingTag }}
        {% endfor %}
    </div>
{% endmacro %}
