<form class="form-horizontal" data-no-ajax method="post" action="{{ path }}">

    <div class="form-row">
        <label class="col-form-label col-md-3">{% trans %}export.format{% endtrans %}</label>
        <div class="col-sm">
            <select class="form-control" name="format">
                <option value="json">JSON</option>
                <option value="xml">XML</option>
                <option value="csv">CSV</option>
                <option value="yaml">YAML</option>
            </select>
        </div>
    </div>

    <div class="form-row mt-2">
        <label class="col-form-label col-md-3">{% trans %}export.level{% endtrans %}</label>
        <div class="col-sm">
            <select class="form-control" name="level">
                <option value="simple">{% trans %}export.level.simple{% endtrans %}</option>
                <option value="extended" selected>{% trans %}export.level.extended{% endtrans %}</option>
                <option value="full">{% trans %}export.level.full{% endtrans %}</option>
            </select>
        </div>
    </div>

    <div class="form-row mt-2">
        <div class="offset-sm-3 col-sm">
            <div class="custom-control custom-checkbox">
                <input class="form-check-input custom-control-input" name="include_children" id="include_children" type="checkbox" checked>
                <label class="form-check-label custom-control-label" for="include_children">
                    {% trans %}export.include_children{% endtrans %}
                </label>
            </div>
        </div>
    </div>

    <div class="form-row mt-2">
        <div class="offset-sm-3 col-sm">
            <button type="submit" class="btn btn-primary">{% trans %}export.btn{% endtrans %}</button>
        </div>
    </div>
</form>