@extends('admin.layouts.app') @section('title', 'Edit Ad') @section('content')
Edit Ad: {{ $ad->ad_title }}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
Lower number appears first
is_active) ? 'checked' : '' }}>
@if($ad->ad_image && file_exists(public_path('uploads/ads/' . $ad->ad_image))) {{ $ad->ad_title }} @else

No image uploaded

@endif
Max 2MB
Cancel
@push('scripts') @endpush @endsection