@include('backend.global.header-card')
@include('backend.global.validation')
{!! Form::open(['url' => route('manager.pages.update', $page->id), 'method' => 'PUT', 'class' => 'form fv-plugins-bootstrap5 fv-plugins-framework', 'enctype' => 'multipart/form-data' ]) !!}
@if($show_brand_inputs && $page_brand instanceof \App\Models\PageBrands\PageBrands)
{{--
--}}
{{--
Logótipo--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{-- @if(isset($page_brand->logo_uid))--}}
{{-- @include('backend.global.show-file-modal', ['route' => route('page_brands.logo', ['uid' => $page_brand->logo_uid, 'type' => 'brand'] ), 'input_name' => 'image_logo', 'title' => 'Logótipo'])--}}
{{-- @endif--}}
{{--
--}}
{{-- --}}
@if(isset($page_brand->banner_uid))
@include('backend.global.show-file-modal', ['route' => route('page_brands.banner', ['uid' => $page_brand->banner_uid, 'type' => 'brand'] ), 'input_name' => 'banner', 'title' => 'Banner'])
@endif
@endif
@if($show_brands)
Marcas
{{-- existing selected brands--}}
@foreach($page->brands as $page_brand)
{{$page_brand->brand->name}}
@endforeach
{{-- end existing selected brands--}}
{{-- brands selector--}}
@endif
{!! Form::close() !!}
BLOCOS DA PÁGINA
@role('super')
@endrole
@include('backend.pages.snippets.components.type_selector')
@foreach($page->sections as $k=>$section)
@if(isset($section->components()->first()->type))