@extends('admin.layout') @section('main')

{{ $title_description??'' }}

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('position')) {{ $errors->first('position') }} @endif
@if ($errors->has('page')) {{ $errors->first('page') }} @endif
@if ($layout) @else @foreach ( $layoutType as $key => $type) @endforeach @endif @if ($errors->has('type')) {{ $errors->first('type') }} @endif
@php $dataType = old('type',$layout['type']??'') @endphp @if ($dataType =='html') {{ trans('block_content.admin.helper_html') }} @elseif ($dataType =='view') {{ trans('block_content.admin.helper_view') }} @elseif ($dataType =='module') {{ trans('block_content.admin.helper_module') }} @else @endif @if ($errors->has('text')) {{ $errors->first('text') }} @endif
@if ($errors->has('sort')) {{ $errors->first('sort') }} @endif
@endsection @push('styles') {{-- switch --}} @endpush @push('scripts') {{-- switch --}} @endpush