<div class="grid md:grid-cols-2 gap-5">
    <div>
        <label class="text-sm font-medium">Partner name</label>
        <input name="name" value="<?php echo e(old('name', $ourPartner->name ?? '')); ?>" class="w-full mt-1 rounded border-gray-300" required>
        <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>

    <div>
        <label class="text-sm font-medium">Website URL <span class="text-gray-400 font-normal">(optional)</span></label>
        <input type="url" name="website_url" value="<?php echo e(old('website_url', $ourPartner->website_url ?? '')); ?>" placeholder="https://example.com" class="w-full mt-1 rounded border-gray-300">
        <?php $__errorArgs = ['website_url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>

    <div>
        <label class="text-sm font-medium">Sort order</label>
        <input type="number" min="0" name="sort_order" value="<?php echo e(old('sort_order', $ourPartner->sort_order ?? 0)); ?>" class="w-full mt-1 rounded border-gray-300">
        <?php $__errorArgs = ['sort_order'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

        <label class="inline-flex items-center gap-2 mt-4 text-sm">
            <input type="checkbox" name="is_active" value="1" <?php echo e(old('is_active', $ourPartner->is_active ?? true) ? 'checked' : ''); ?>>
            Active
        </label>
    </div>

    <div>
        <label class="text-sm font-medium">Partner logo <span class="text-gray-400 font-normal">(optional)</span></label>
        <input type="file" name="logo" accept="image/*" class="w-full mt-1 rounded border-gray-300">
        <?php $__errorArgs = ['logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="text-xs text-red-600 mt-1"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        <?php if(!empty($ourPartner?->logo_url)): ?>
            <img src="<?php echo e($ourPartner->logo_url); ?>" class="mt-3 h-16 w-36 rounded border border-gray-200 bg-white object-contain p-2" alt="<?php echo e($ourPartner->name); ?>">
        <?php endif; ?>
        <p class="text-xs text-gray-500 mt-2">PNG, JPG, SVG. Transparent background recommended.</p>
    </div>
</div>
<?php /**PATH /home/gpsmigration/public_html/gpsmigration.com/resources/views/admin/our-partners/_form.blade.php ENDPATH**/ ?>