@extends('admin.layouts.app') @section('title', $ad->id ? 'تعديل إعلان' : 'إضافة إعلان') @section('page-title', $ad->id ? 'تعديل الإعلان' : 'إضافة إعلان جديد') @section('content')
{{ $ad->id ? 'تعديل الإعلان' : 'إعلان جديد' }}
@csrf @if($ad->id) @method('PUT') @endif
@error('title_ar')
{{ $message }}
@enderror
@error('title')
{{ $message }}
@enderror
الشاشة الكاملة تظهر للمريض أو الطبيب حسب «الجمهور»، مع زر إغلاق وحدّ {{ \App\Services\SplashAdService::MAX_VIEWS_PER_DAY }} مشاهدات يومياً لكل إعلان.
@if($ad->image)
@endif
PNG، JPG، WebP أو GIF — حتى 5 ميجابايت
is_active ?? true) ? 'checked' : '' }}>

إلغاء
@endsection