@extends($templatePathAdmin.'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 =='page') @elseif ($dataType =='view') {{ sc_language_render('admin.store_block.helper_view',['template' => sc_store('template', $storeId)]) }} @else {{ sc_language_render('admin.store_block.helper_html') }} @endif @if ($errors->has('text')) {{ $errors->first('text') }} @endif
@if (sc_check_multi_shop_installed())
@if ($errors->has('store_id')) {{ $errors->first('store_id') }} @endif
@endif
@if ($errors->has('sort')) {{ $errors->first('sort') }} @endif
@endsection @push('styles') @endpush @push('scripts') @endpush