@extends('layouts.admin')

@section('content')
  <div class="card-header">
    <h4>Edit Banner</h4>
  </div>

  <div class="card-body">
    @include('admin.partials.flash-messages')

    @include('admin.banner.partials.banner-form', [
      'banner' => $bannerimages,
      'formAction' => route('admin.updatebanner'),
      'submitLabel' => 'Update Banner',
      'heroTitle' => 'Edit Banner',
      'heroDescription' => 'Update the banner title or replace the current image without losing the banner record.',
    ])
  </div>

  @include('admin.partials.attachment-upload-form')
@endsection
