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

Edit Movie: {{ $movie->title }}

View Movie Back to Movies
Edit Movie Information
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
Basic Information
Media Information
Enter the embed URL for the movie (e.g., YouTube or Vimeo embed URL)
Enter the embed URL for the trailer (e.g., YouTube or Vimeo embed URL)
Movie Poster
Recommended size: 300x450 pixels. Max file size: 2MB.
@if($movie->poster_url) {{ $movie->title }} @else
@endif
Statistics

Views: {{ number_format($movie->views_count) }}

Average Rating: {{ number_format($movie->avgRating, 1) }}/5

Total Ratings: {{ $movie->ratings->count() }}

Added On: {{ $movie->created_at->format('M d, Y') }}

Last Updated: {{ $movie->updated_at->format('M d, Y') }}

Settings
is_active) ? 'checked' : '' }}>
If enabled, this movie will be visible to users.
featured) ? 'checked' : '' }}>
If enabled, this movie will be highlighted in featured sections.
@endsection @push('scripts') @endpush