@extends('admin.layouts.app') @push('styles_top') @endpush @section('content') {{ $pageTitle }} {{trans('admin/main.dashboard')}} {{ trans('admin/main.additional_pages_title') }} {{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate'))) {{ trans('auth.language') }} @foreach($userLanguages as $lang => $language) get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }} @endforeach @error('locale') {{ $message }} @enderror @else @endif {{ trans('admin/main.name') }} @error('name') {{ $message }} @enderror {{ trans('admin/main.link') }} @error('link') {{ $message }} @enderror {{ trans('admin/main.new_page_link_hint') }} {{ trans('admin/main.title') }} @error('title') {{ $message }} @enderror {{ trans('admin/main.seo_description') }} {{ !empty($page) ? $page->seo_description : old('seo_description') }} @error('seo_description') {{ $message }} @enderror {{ trans('admin/main.content') }} {!! !empty($page) ? $page->content : old('content') !!} @error('content') {{ $message }} @enderror {{ trans('admin/main.status') }}: {{ trans('admin/main.draft') }} status == 'publish') ? 'checked="checked"' : '' }} class="custom-switch-input"/> {{ trans('admin/main.publish') }} {{ trans('admin/main.robot') }}: {{ trans('admin/main.no_follow') }} robot) ? 'checked="checked"' : '' }} class="custom-switch-input"/> {{ trans('admin/main.follow') }} {{ trans('admin/main.submit') }} @endsection @push('scripts_bottom') @endpush