@include('shared.toasts.link')
@csrf
@include('icons.domain', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('domain')) {{ $errors->first('domain') }} @endif
@include('icons.alias', ['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\Link', Auth::user()->plan->features->spaces]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.space', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('space')) {{ $errors->first('space') }} @endif
@cannot('password', ['App\Link', Auth::user()->plan->features->password]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.security', ['class' => 'width-4 height-4 fill-current text-muted'])
plan->features->password]) disabled @endcan>
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@cannot('expiration', ['App\Link', Auth::user()->plan->features->expiration]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.calendar', ['class' => 'width-4 height-4 fill-current text-muted'])
plan->features->expiration]) disabled @endcannot> plan->features->expiration]) disabled @endcannot>
@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\Link', Auth::user()->plan->features->expiration]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@cannot('expiration', ['App\Link', Auth::user()->plan->features->expiration]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
plan->features->expiration]) disabled @endcannot> plan->features->expiration]) disabled @endcannot>
@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\Link', Auth::user()->plan->features->stats]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@cannot('stats', ['App\Link', Auth::user()->plan->features->stats]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@include('icons.stats', ['class' => 'width-4 height-4 fill-current text-muted'])
@include('icons.security', ['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\Link', Auth::user()->plan->features->disabled]) @if(paymentProcessors()) @include('icons.unlock', ['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\Link', Auth::user()->plan->features->pixels]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@if ($errors->has('pixels')) {{ $errors->first('pixels') }} @endif
@foreach([ ['title' => __('None'), 'value' => 0, 'name' => '', 'input' => 'empty'], ['title' => __('Country'), 'value' => 1, 'name' => 'flag', 'input' => 'country'], ['title' => __('Platform'), 'value' => 2, 'name' => 'platforms', 'input' => 'platform'], ['title' => __('Language'), 'value' => 3, 'name' => 'language', 'input' => 'language'], ['title' => __('Rotation'), 'value' => 4, 'name' => 'rotation', '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\Link', Auth::user()->plan->features->targeting]) @else @if(paymentProcessors()) @include('icons.unlock', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('icons.platforms', ['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.platforms', ['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\Link', Auth::user()->plan->features->targeting]) @else @if(paymentProcessors()) @include('icons.unlock', ['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\Link', Auth::user()->plan->features->targeting]) @else @if(paymentProcessors()) @include('icons.unlock', ['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\Link', Auth::user()->plan->features->targeting]) @else @if(paymentProcessors()) @include('icons.unlock', ['class' => 'width-4 height-4 fill-current'])​ @endif @endcan
@include('icons.preference', ['class' => 'fill-current width-4 height-4'])​
@include('shared.modals.utm')