@php if(setting('cms.admin_panel') == 'new') { $extends = 'layouts.login'; } else { $extends = 'layouts.app'; } @endphp @extends($extends) @if(setting('cms.admin_panel') == 'new') @section('content')
@csrf

Войти

Введите имя пользователя и пароль
@endsection @else @section('content')
@csrf
Форма авторизации

@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endsection @endif