Edit File: 0b0702e12c01284b6f8ed4995c191843.php
<div> <?php $__env->slot('header', null, []); ?> <di class="relative"> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight text-center"> <?php echo e(__('Create New Anime')); ?> </h2> </di> <?php $__env->endSlot(); ?> <div class="py-12"> <form class="bg-gray-300 max-w-7xl mx-auto sm:px-6 lg:px-8 p-4 flex flex-col gap-4" wire:submit="store"> <div class="flex w-full"> <div class="flex-1"> <img src="<?php echo e($photo ? $photo->temporaryUrl() : "https://dummyimage.com/1080x1920/000/fff"); ?>" class="h-48 aspect-[9/16] mx-auto"> <label for="photo" class="duration-200 flex flex-col items-center px-4 py-6 mx-auto w-full md:w-1/2 lg:w-1/3 bg-white text-blue-600 rounded-lg shadow-lg tracking-wide uppercase border border-blue-600 cursor-pointer hover:bg-blue-600 hover:text-white"> <svg class="w-8 h-8" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path d="M16.88 4.12A10 10 0 111 10c.05 0 .1 0 .15-.01A7.75 7.75 0 004 12.25V15a1 1 0 001 1h10a1 1 0 001-1v-2.75A7.75 7.75 0 0015 10a7.75 7.75 0 001.87-5.88z" /> </svg> <span class="mt-2 text-sm leading-normal">Select a Thumbnail</span> <input id="photo" type="file" wire:model="photo" class="hidden" accept=".jpg, .jpeg, .png, .webp" /> <div class="flex"> <div wire:loading.remove wire:target="photo">IDLE</div> <div wire:loading wire:target="photo">Uploading...</div> </div> </label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('photo')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('photo'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="flex-1"> <img src="<?php echo e($home_image ? $home_image->temporaryUrl() : "https://dummyimage.com/1280x720/000/fff"); ?>" class="w-96 h-48 mx-auto"> <label for="home_image" class="duration-200 flex flex-col items-center px-4 py-6 mx-auto w-full md:w-1/2 lg:w-1/3 bg-white text-blue-600 rounded-lg shadow-lg tracking-wide uppercase border border-blue-600 cursor-pointer hover:bg-blue-600 hover:text-white"> <svg class="w-8 h-8" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path d="M16.88 4.12A10 10 0 111 10c.05 0 .1 0 .15-.01A7.75 7.75 0 004 12.25V15a1 1 0 001 1h10a1 1 0 001-1v-2.75A7.75 7.75 0 0015 10a7.75 7.75 0 001.87-5.88z" /> </svg> <span class="mt-2 text-sm leading-normal">Select a Home Slider</span> <input id="home_image" type="file" wire:model="home_image" class="hidden" accept=".jpg, .jpeg, .png, .webp" /> <div class="flex"> <div wire:loading.remove wire:target="home_image">IDLE</div> <div wire:loading wire:target="home_image">Uploading...</div> </div> </label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('home_image')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('home_image'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'name','value' => __('Nama')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'name','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Nama'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'name','id' => 'name','name' => 'name','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autofocus' => true,'autocomplete' => 'name']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'name','id' => 'name','name' => 'name','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autofocus' => true,'autocomplete' => 'name']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('name')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('name'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'title','value' => __('Judul')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'title','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Judul'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'title','id' => 'title','name' => 'title','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'title']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'title','id' => 'title','name' => 'title','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'title']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('title')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('title'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'total_episode','value' => __('Total Episode')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'total_episode','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Total Episode'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'total_episode','id' => 'total_episode','name' => 'total_episode','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'total_episode']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'total_episode','id' => 'total_episode','name' => 'total_episode','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'total_episode']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('total_episode')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('total_episode'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'release_date','value' => __('Tanggal Release')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'release_date','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Tanggal Release'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'release_date','id' => 'release_date','name' => 'release_date','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'release_date']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'release_date','id' => 'release_date','name' => 'release_date','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'release_date']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('release_date')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('release_date'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'score','value' => __('Score')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'score','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Score'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'score','id' => 'score','name' => 'score','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'score']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'score','id' => 'score','name' => 'score','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'score']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('score')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('score'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'duration','value' => __('Durasi')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'duration','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Durasi'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['wire:model' => 'duration','id' => 'duration','name' => 'duration','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'duration']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'duration','id' => 'duration','name' => 'duration','type' => 'text','class' => 'mt-1 block w-full','required' => true,'autocomplete' => 'duration']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('duration')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('duration'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'nation_id','value' => __('Negara')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'nation_id','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Negara'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <select name="nation_id" id="nation_id" class="w-full rounded-md bg-gray-100 border-gray-300" wire:model="nation_id"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $nations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $nation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option :value="<?php echo e($nation->id); ?>"><?php echo e($nation->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </select> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('nation_id')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('nation_id'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'season_id','value' => __('Season')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'season_id','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Season'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <select name="season_id" id="season_id" class="w-full rounded-md bg-gray-100 border-gray-300" wire:model="season_id"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $seasons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $season): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option :value="<?php echo e($season->id); ?>"><?php echo e($season->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </select> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('season_id')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('season_id'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'genre','value' => __('Genre')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'genre','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Genre'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <select name="genre" id="genre" class="w-full rounded-md bg-gray-100 border-gray-300" wire:model="genre"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $genres; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $genre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option :value="<?php echo e($genre->id); ?>"><?php echo e($genre->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </select> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('genre')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('genre'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'type_id','value' => __('Type')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'type_id','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Type'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <select name="type_id" id="type_id" class="w-full rounded-md bg-gray-100 border-gray-300" wire:model="type_id"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $types; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option :value="<?php echo e($type->id); ?>"><?php echo e($type->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </select> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('type_id')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('type_id'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'short_description','value' => __('Deskripsi Pendek')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'short_description','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Deskripsi Pendek'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <textarea wire:model="short_description" id="short_description" name="short_description" type="text" class="mt-1 block w-full bg-gray-50 rounded-lg border-gray-200" required autocomplete="short_description" rows="4" placeholder="Deskripsi Pendek Untuk Ditempatkan Ketika Melihat Deskripsi Anime"></textarea> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('short_description')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('short_description'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="flex items-center gap-1"> <input type="checkbox" wire:model="is_hot" name="is_hot" class="rounded-md border-gray-200" /> <label for="is_hot">HOT</label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('is_hot')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('is_hot'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="flex items-center gap-1"> <input type="checkbox" wire:model="is_priority" name="is_priority" class="rounded-md border-gray-200" /> <label for="is_priority">PRIORITAS</label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('is_priority')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('is_priority'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="flex items-center gap-1"> <input type="checkbox" wire:model="is_film" name="is_film" class="rounded-md border-gray-200" /> <label for="is_film">FILM</label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('is_film')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('is_film'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <div class="flex items-center gap-1"> <input type="checkbox" wire:model="is_series" name="is_series" class="rounded-md border-gray-200" /> <label for="is_series">SERIES</label> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('is_series')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('is_series'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <?php if (isset($component)) { $__componentOriginalb2c45e9907fdbe9ac5d66b9b5be51207 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb2c45e9907fdbe9ac5d66b9b5be51207 = $attributes; } ?> <?php $component = Mary\View\Components\Choices::resolve(['label' => 'Tags','options' => $tags] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('mary-choices'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Mary\View\Components\Choices::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['wire:model' => 'tag_multi_ids']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb2c45e9907fdbe9ac5d66b9b5be51207)): ?> <?php $attributes = $__attributesOriginalb2c45e9907fdbe9ac5d66b9b5be51207; ?> <?php unset($__attributesOriginalb2c45e9907fdbe9ac5d66b9b5be51207); ?> <?php endif; ?> <?php if (isset($__componentOriginalb2c45e9907fdbe9ac5d66b9b5be51207)): ?> <?php $component = $__componentOriginalb2c45e9907fdbe9ac5d66b9b5be51207; ?> <?php unset($__componentOriginalb2c45e9907fdbe9ac5d66b9b5be51207); ?> <?php endif; ?> <div class="flex items-center gap-4 w-full justify-center"> <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?><?php echo e(__('Save')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginala665a74688c74e9ee80d4fedd2b98434 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginala665a74688c74e9ee80d4fedd2b98434 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.action-message','data' => ['class' => 'me-3','on' => 'user-created']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('action-message'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'me-3','on' => 'user-created']); ?> <?php echo e(__('User Created.')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginala665a74688c74e9ee80d4fedd2b98434)): ?> <?php $attributes = $__attributesOriginala665a74688c74e9ee80d4fedd2b98434; ?> <?php unset($__attributesOriginala665a74688c74e9ee80d4fedd2b98434); ?> <?php endif; ?> <?php if (isset($__componentOriginala665a74688c74e9ee80d4fedd2b98434)): ?> <?php $component = $__componentOriginala665a74688c74e9ee80d4fedd2b98434; ?> <?php unset($__componentOriginala665a74688c74e9ee80d4fedd2b98434); ?> <?php endif; ?> </div> </form> </div> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/admin/anime/anime-create.blade.php ENDPATH**/ ?>
Back