<div class="inverter_form_row" id="{{ inverter_field.id + '_row' }}">
    <span class="bold_header">{{ inverter_field.label }}</span>
    <div class="inverter_inputs_container">
        {{ inverter_field.form.csrf_token }}
        <div class="required_inverter_fields">
            {% if quantity %}
                {% set field = inverter_field.form.quantity %}
                {% include 'form_row.html.jinja' %}
            {% endif %}
            {% for field in inverter_field.form.group('non-optional') %}
                {% include 'form_row.html.jinja' %}
            {% endfor %}
        </div>
        <div class="optional_inverter_fields">
            Optional Components
            <div class="checkbox_row">
                {% for field in inverter_field.form.group('optional') %}
                    {% include 'checkbox_form_row.html.jinja' %}
                {% endfor %}
            </div>
        </div>
    </div>
</div>
