@if(isset($admin)) @section('site_title', formatTitle([__('Edit'), __('User'), config('settings.title')])) @else @section('site_title', formatTitle([__('Account'), config('settings.title')])) @endif @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => isset($admin) ? route('admin.dashboard') : route('dashboard'), 'title' => isset($admin) ? __('Admin') : __('Home')], ['url' => isset($admin) ? route('admin.users') : route('settings'), 'title' => isset($admin) ? __('Users') : __('Settings')], ['title' => isset($admin) ? __('Edit') : __('Account')] ]])

{{ isset($admin) ? __('Edit') : __('Account') }}

@if(isset($admin)) {{ __('User') }} @else {{ __('Account') }} @endif
@include('shared.message') @if($user->getPendingEmail() && isset($admin) == false) @endif @if(isset($admin) && !$user->email_verified_at) @endif @if(isset($admin) && $user->trashed()) @endif
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('timezone')) {{ $errors->first('timezone') }} @endif
email_account_limit && old('email_account_limit') == null || old('email_account_limit')) checked @endif>
@if(isset($admin))
@if ($errors->has('email_verified_at')) {{ $errors->first('email_verified_at') }} @endif
@if ($errors->has('role')) {{ $errors->first('role') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@endif
@if(isset($admin))
@php $menu = [ ['icon' => 'icons.subscription', 'route' => 'admin.subscriptions', 'title' => __('Subscriptions'), 'stats' => 'subscriptions'], ['icon' => 'icons.website', 'route' => 'admin.websites', 'title' => __('Websites'), 'stats' => 'websites'] ]; @endphp @foreach($menu as $link)
@include($link['icon'], ['class' => 'fill-current width-4 height-4 ' . (__('lang_dir') == 'rtl' ? 'ml-3' : 'mr-3 ')])
{{ $link['title'] }}
@include((__('lang_dir') == 'rtl' ? 'icons.chevron_left' : 'icons.chevron_right'), ['class' => 'width-3 height-3 fill-current mx-2'])
{{ number_format($stats[$link['stats']], 0, __('.'), __(',')) }}
@endforeach
@endif