@extends('layouts.admin') @section('title', 'Edit Spotlight') @section('content')

Edit Spotlight

Update spotlight details

@if($errors->any()) @endif
@csrf @method('PUT')
Associated Offer
@error('offer_id')
{{ $message }}
@enderror
Spotlight Content
@error('content')
{{ $message }}
@enderror Describe the spotlight in detail
Media
@error('media_type')
{{ $message }}
@enderror
@if($spotlight->media_urls) @foreach($spotlight->media_urls as $url)
@endforeach @else
@endif
Add URLs for images or videos
Location
@error('location')
{{ $message }}
@enderror
@error('latitude')
{{ $message }}
@enderror
@error('longitude')
{{ $message }}
@enderror
Status
@if($spotlight->moderation_notes)

{{ $spotlight->moderation_notes }}

@endif
Statistics
Views

{{ $spotlight->view_count }}

Likes

{{ $spotlight->likes_count }}

Comments

{{ $spotlight->comments_count }}

Shares

{{ $spotlight->shares_count }}

User Info

{{ $spotlight->user->first_name }} {{ $spotlight->user->last_name }}

{{ $spotlight->user->email }}

Created: {{ $spotlight->created_at->format('M d, Y H:i') }}

@endsection