">
            <label for="agent" class="col-sm-2 col-form-label">Agent (optional)</label>
            <div class="col-sm-6">
                <select class="form-select" id="agent" th:field="*{agent}">
                    <option value="">No agent</option>
                    <option th:each="a: ${agents}" th:value="${a.key}" th:text="${a.key}"></option>
                </select>
            </div>
        </div>

        <div class="row mb-3">
            <div class="col-sm-2"></div>
            <div class