@section('site_title', formatTitle([__('Edit'), __('Link'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => request()->is('admin/*') ? route('admin.dashboard') : route('dashboard'), 'title' => request()->is('admin/*') ? __('Admin') : __('Home')], ['url' => request()->is('admin/*') ? route('admin.links') : route('links'), 'title' => __('Links')], ['title' => __('Edit')], ]])

{{ __('Edit') }}

{{ __('Link') }}
@include('shared.buttons.copy-link', ['class' => 'btn-sm text-primary'])
@include('links.partials.menu')
@include('shared.message')
@csrf @if(request()->is('admin/*')) @endif
@include('icons.link', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('url')) {{ $errors->first('url') }} @endif
@cannot('domains', ['App\Link', Auth::user()->plan->features->domains]) @if(paymentProcessors()) @include('icons.unlock', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@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'])
@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'])
is('admin/*')) disabled @else @cannot('password', ['App\Link', Auth::user()->plan->features->password]) disabled @endcannot @endif>
@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'])
is('admin/*')) disabled @else @cannot('stats', ['App\Link', Auth::user()->plan->features->stats]) disabled @endcannot @endif>
@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
@if(request()->is('admin/*')) @include('admin.users.partials.card', ['user' => $link->user]) @endif @include('shared.modals.utm') @include('shared.modals.share-link')