@extends('admin.layouts.main') @section('title', 'Dashboard') @section('content')
@lang('message.edit_banner')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@error('image')

{{ $message }}

@enderror
@if ($banner->file_type == 'image') @elseif ($banner->file_type == 'video') @endif @error('image')

{{ $message }}

@enderror
@endsection @section('scripts') @endsection