@extends('admin.layouts.app') @section('title', 'Edit Game: ' . $game->title) @section('content')
← Kembali ke daftar game
@if($game->thumbnail_url) {{ $game->title }} @endif

{{ $game->title }}

ID: {{ $game->game_id }}

@csrf @method('PUT')
{{-- Title --}}
{{-- Developer --}}
{{-- Publisher --}}
{{-- Price --}}
{{-- Release Date --}}
{{-- Thumbnail URL --}}
Preview
{{-- Discount --}}

0 = tidak ada diskon

{{-- Website --}}
{{-- Short Description --}}

Maks 1000 karakter. Tampil di store & hero.

{{-- Genres --}}
@foreach($genres as $genre) @endforeach
{{-- Categories --}}
@foreach($categories as $category) @endforeach
{{-- Platforms --}}
@foreach($platforms as $platform) @endforeach
{{-- Description --}}
{{-- Minimum Requirements --}}
{{-- Screenshots Section --}}
{{-- Existing Screenshots --}} @if($game->screenshots->count() > 0)

Screenshot yang ada:

@foreach($game->screenshots as $screenshot)
Screenshot
@endforeach
@endif {{-- Add New Screenshots --}}

Tambah screenshot baru:

{{-- Trailers Section --}}
{{-- Existing Trailers --}} @if($game->trailers->count() > 0)

Trailer yang ada:

@foreach($game->trailers as $trailer)

{{ $trailer->title ?? 'Trailer' }}

{{ $trailer->url }}

@endforeach
@endif {{-- Add New Trailers --}}

Tambah trailer baru:

Batal
@endsection @push('scripts') @endpush