@include('shared.toasts.link')
@csrf
@include('icons.website', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('domain_id')) {{ $errors->first('domain_id') }} @endif
@include('icons.abc', ['class' => 'width-4 height-4 fill-current text-muted'])
session()->get('toast')) <= 1 ? '' : ' disabled' }}>
@if ($errors->has('alias')) {{ $errors->first('alias') }} @endif
@cannot('spaces', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.workspaces', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('space_id')) {{ $errors->first('space_id') }} @endif
@cannot('password', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.lock', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@cannot('expiration', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.date-range', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.expire', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('expiration_date')) {{ $errors->first('expiration_date') }} @endif
@if ($errors->has('expiration_time')) {{ $errors->first('expiration_time') }} @endif
@cannot('expiration', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@cannot('expiration', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.mouse', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('expiration_url')) {{ $errors->first('expiration_url') }} @endif
@if ($errors->has('expiration_clicks')) {{ $errors->first('expiration_clicks') }} @endif
@cannot('stats', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@cannot('stats', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.bar-chart', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.lock', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('privacy')) {{ $errors->first('privacy') }} @endif
@if ($errors->has('privacy_password')) {{ $errors->first('privacy_password') }} @endif
@cannot('disabled', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.block', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('disabled')) {{ $errors->first('disabled') }} @endif
@cannot('pixels', ['App\Models\Link']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@if ($errors->has('pixel_ids')) {{ $errors->first('pixel_ids') }} @endif
@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
@include('icons.flag', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if(old('country')) @foreach(old('country') as $id => $country)
@include('icons.flag', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('country.'.$id.'.key')) {{ $errors->first('country.'.$id.'.key') }} @endif
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('country.'.$id.'.value')) {{ $errors->first('country.'.$id.'.value') }} @endif
@endforeach @endif
@can('targeting', ['App\Models\Link']) @else @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('icons.devices', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if(old('platform')) @foreach(old('platform') as $id => $platform)
@include('icons.devices', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('platform.'.$id.'.key')) {{ $errors->first('platform.'.$id.'.key') }} @endif
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('platform.'.$id.'.value')) {{ $errors->first('platform.'.$id.'.value') }} @endif
@endforeach @endif
@can('targeting', ['App\Models\Link']) @else @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('icons.language', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if(old('language')) @foreach(old('language') as $id => $language)
@include('icons.language', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('language.'.$id.'.key')) {{ $errors->first('language.'.$id.'.key') }} @endif
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('language.'.$id.'.value')) {{ $errors->first('language.'.$id.'.value') }} @endif
@endforeach @endif
@can('targeting', ['App\Models\Link']) @else @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if(old('rotation')) @foreach(old('rotation') as $id => $rotation)
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('rotation.'.$id.'.value')) {{ $errors->first('rotation.'.$id.'.value') }} @endif
@endforeach @endif
@can('targeting', ['App\Models\Link']) @else @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('shared.modals.utm')