@extends('default.layout') @section('content')

{{isset($banner) ? 'Editar' : 'Novo'}} Banner do Topo

@csrf

*Para Delivery do tipo mercado

@if($errors->has('texto_primario'))
{{ $errors->first('texto_primario') }}
@endif
@if($errors->has('texto_secundario'))
{{ $errors->first('texto_secundario') }}
@endif

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



ativo) checked @endif type="checkbox" id="ativo" name="ativo" />

path)) style="background-image: url(/banner_mais_vendido/{{$banner->path}})" @else style="background-image: url(/imgs/no_image.png)" @endif>
.png, .jpg, .jpeg Imagem 570x715px
@if($errors->has('file'))

{{ $errors->first('file') }}

@endif

{{{ isset($banner) ? "Editar": "Cadastrar" }}} Banner

*Para Delivery do tipo mercado

@if($errors->has('texto_primario'))
{{ $errors->first('texto_primario') }}
@endif
@if($errors->has('texto_secundario'))
{{ $errors->first('texto_secundario') }}
@endif
Imagem 570x715px
@if($errors->has('file'))
{{ $errors->first('file') }}
@endif
@if(isset($banner)) @endif
inbox @if($errors->has('produto'))
{{ $errors->first('produto') }}
@endif

ativo) checked @endif type="checkbox" id="status" name="status" />

@csrf
@endsection