<div class="form-row align-items-center">
    {% for field in form %}
        {% if not field.is_hidden %}
        <div class="col-auto">
            {{field}}
        </div>
        {% else %}
        {% endif %}
    {% endfor %}
</div>