@for ($i = 1; $i <= $maxAds; $i++)
    <div class="mb-3">
        <label class="form-label">{{ __('Ad :number', ['number' => $i]) }}</label>
        <select name="ads_{{ $i }}" class="form-select">
            <option value="">{{ __('-- select --') }}</option>
            @foreach($ads as $ad)
                <option value="{{ $ad->key }}" @if ($ad->key == Arr::get($attributes, 'ads_' . $i)) selected @endif>{{ $ad->name }}</option>
            @endforeach
        </select>
    </div>
@endfor
