@foreach([ ['title' => __('None'), 'value' => 0, 'icon' => '', 'input' => 'empty'],
['title' => __('Country'), 'value' => 1, 'icon' => 'flag', 'input' => 'country'],
['title' => __('Platform'), 'value' => 2, 'icon' => 'devices', 'input' => 'platform'],
['title' => __('Language'), 'value' => 3, 'icon' => 'language', 'input' => 'language'],
['title' => __('Rotation'), 'value' => 4, 'icon' => 'cached', 'input' => 'rotation']
] as $targetButton)
@endforeach
@if(old('country'))
@foreach(old('country') as $id => $country)
@endforeach
@endif
@can('targeting', ['App\Models\Link'])
@else
@if(paymentProcessors())
@include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])
@endif
@endcan
@if(old('language'))
@foreach(old('language') as $id => $language)
@endforeach
@endif
@can('targeting', ['App\Models\Link'])
@else
@if(paymentProcessors())
@include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])
@endif
@endcan
@if(old('rotation'))
@foreach(old('rotation') as $id => $rotation)
@endforeach
@endif
@can('targeting', ['App\Models\Link'])
@else
@if(paymentProcessors())
@include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])
@endif
@endcan