@section('site_title', formatTitle([__('Edit'), __('Website'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => isset($admin) ? route('admin.dashboard') : route('dashboard'), 'title' => isset($admin) ? __('Admin') : __('Home')], ['title' => __('Edit')], ]])

{{ __('Edit') }}

{{ __('Website') }}
@include('shared.dropdowns.website', ['class' => 'text-secondary', 'options' => ['stats' => true, 'open' => true, 'delete' => true]])
@include('shared.message')
@csrf @if(isset($admin)) @endif
@if ($errors->has('url')) {{ $errors->first('url') }} @endif

privacy == 1 && old('privacy') == null || old('privacy') == 1) checked @endif>
privacy == 0 && old('privacy') == null || old('privacy') == 0 && old('privacy') != null) checked @endif>
privacy == 2 && old('privacy') == null || old('privacy') == 2) checked @endif>
@include('icons.security', ['class' => 'width-4 height-4 fill-current text-muted'])
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('privacy')) {{ $errors->first('privacy') }} @endif

email && old('email') == null || old('email')) checked @endif>

@if ($errors->has('exclude_ips')) {{ $errors->first('exclude_ips') }} @endif
@if ($errors->has('exclude_params')) {{ $errors->first('exclude_params') }} @endif
exclude_bots && old('exclude_bots') == null || old('exclude_bots')) checked @endif>

@include('shared.tracking_code')
@if(isset($admin)) @if(isset($website->user))
{{ __('User') }}
{{ __('Name') }}
{{ $website->user->name }}
{{ __('Email') }}
{{ $website->user->email }}
@endif @endif @include('shared.modals.delete_website', ['admin' => isset($admin) ? true : false])