 <?php $__env->startSection('content'); ?><h1 class="text-2xl font-bold">Application and database</h1><p class="mt-1 text-slate-500">The installer will test these credentials before saving them.</p><form method="POST" action="<?php echo e(route('install.database.save')); ?>" class="mt-7 grid gap-5 sm:grid-cols-2"><?php echo csrf_field(); ?> <?php ($input='mt-1 w-full rounded-xl border-slate-300'); ?><div class="sm:col-span-2"><label class="text-sm font-medium">Application URL</label><input class="<?php echo e($input); ?>" type="url" name="app_url" value="<?php echo e(old('app_url',url('/'))); ?>" required></div><div><label class="text-sm font-medium">Database host</label><input class="<?php echo e($input); ?>" name="db_host" value="<?php echo e(old('db_host','127.0.0.1')); ?>" required></div><div><label class="text-sm font-medium">Port</label><input class="<?php echo e($input); ?>" type="number" name="db_port" value="<?php echo e(old('db_port','3306')); ?>" required></div><div><label class="text-sm font-medium">Database name</label><input class="<?php echo e($input); ?>" name="db_database" value="<?php echo e(old('db_database')); ?>" required></div><div><label class="text-sm font-medium">Username</label><input class="<?php echo e($input); ?>" name="db_username" value="<?php echo e(old('db_username')); ?>" required></div><div class="sm:col-span-2"><label class="text-sm font-medium">Password</label><input class="<?php echo e($input); ?>" type="password" name="db_password"></div><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($errors->any()): ?><div class="sm:col-span-2 rounded-xl bg-red-50 p-3 text-sm text-red-700"><?php echo e($errors->first()); ?></div><?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?><div class="sm:col-span-2"><button class="rounded-xl bg-emerald-600 px-5 py-3 font-semibold text-white">Test and continue →</button></div></form><?php $__env->stopSection(); ?>

<?php echo $__env->make('installer.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\USER\Ajo-money\resources\views\installer\database.blade.php ENDPATH**/ ?>