[Back]
<?php $__env->startSection('content'); ?>
<div class="flex items-center justify-between mb-6">
<h1 class="text-2xl font-bold">Edit Product</h1>
<a href="<?php echo e(route('admin.products.index')); ?>" class="underline">Back</a>
</div>
<div class="bg-white rounded-xl shadow p-6">
<form method="POST" action="<?php echo e(route('admin.products.update', $product)); ?>" class="space-y-6">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<?php echo $__env->make('admin.products._form', ['product' => $product], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<button class="px-5 py-3 rounded bg-black text-white">
Update Product
</button>
</form>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.public', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/fikhri/Project6/landing-fpx/resources/views/admin/products/edit.blade.php ENDPATH**/ ?>