<?php $__env->startSection('content'); ?>
    <div class="container">
        <div class="row justify-content-center align-content-center mt-5">
            <div class="col-md-6">
                <div class="card">
                    <div class="card-header" style="background: #d9dce2;">
                        <h1 class="h5 text-center m-0 card-title">Configure Database</h1>
                    </div>
                    <form action="<?php echo e(route('install.saveEnvironment')); ?>" method="post">
                        <?php echo csrf_field(); ?>
                        <div class="card-body px-md-5">
                            <?php if($errors->any()): ?>
                                <div class="alert alert-danger" role="alert">
                                    <?php echo e($errors->first()); ?>

                                </div>
                            <?php endif; ?>
                            <div class="form-group">
                                <label for="database_hostname">Database Host</label>
                                <input type="text" class="form-control <?php echo e($errors->has('database_hostname') ? ' is-invalid ' : ''); ?>" id="database_hostname" name="database_hostname" value="localhost" placeholder="127.0.0.1 / localhost">

                                <?php if($errors->has('database_hostname')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('database_hostname')); ?></div>
                                <?php endif; ?>
                            </div>
                            <div class="form-group">
                                <label for="database_port">Database Port</label>
                                <input type="text" class="form-control <?php echo e($errors->has('database_port') ? ' is-invalid ' : ''); ?>" id="database_port" name="database_port" value="3306" placeholder="3306">

                                <?php if($errors->has('database_port')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('database_port')); ?></div>
                                <?php endif; ?>
                            </div>
                            <div class="form-group">
                                <label for="database_name">Database Name</label>
                                <input type="text" class="form-control <?php echo e($errors->has('database_name') ? ' is-invalid ' : ''); ?>" id="database_name" name="database_name" value="<?php echo e(old('database_name')); ?>" placeholder="database_name">

                                <?php if($errors->has('database_name')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('database_name')); ?></div>
                                <?php endif; ?>
                            </div>
                            <div class="form-group">
                                <label for="database_username">Database Username</label>
                                <input type="text" class="form-control <?php echo e($errors->has('database_username') ? ' is-invalid ' : ''); ?>" id="database_username" name="database_username" value="<?php echo e(old('database_username')); ?>" placeholder="database_username">

                                <?php if($errors->has('database_username')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('database_username')); ?></div>
                                <?php endif; ?>
                            </div>
                            <div class="form-group">
                                <label for="database_password">Database Password</label>
                                <input type="password" class="form-control <?php echo e($errors->has('database_password') ? ' is-invalid ' : ''); ?>" id="database_password" name="database_password" value="<?php echo e(old('database_password')); ?>" placeholder="password">

                                <?php if($errors->has('database_password')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('database_password')); ?></div>
                                <?php endif; ?>
                            </div>

                            <hr class="my-4">

                            <div class="form-group">
                                <label for="admin_email">Admin Email</label>
                                <input type="email" class="form-control <?php echo e($errors->has('admin_email') ? ' is-invalid ' : ''); ?>" id="admin_email" name="admin_email" value="<?php echo e(old('admin_email')); ?>" placeholder="Email">

                                <?php if($errors->has('admin_email')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('admin_email')); ?></div>
                                <?php endif; ?>
                            </div>

                            <div class="form-group">
                                <label for="admin_username">Admin Username</label>
                                <input type="text" class="form-control <?php echo e($errors->has('admin_username') ? ' is-invalid ' : ''); ?>" id="admin_username" name="admin_username" value="<?php echo e(old('admin_username')); ?>" placeholder="username">
                                <small id="admin_username" class="form-text text-muted">Don't use spaces.</small>

                                <?php if($errors->has('admin_username')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('admin_username')); ?></div>
                                <?php endif; ?>
                            </div>

                            <div class="form-group">
                                <label for="admin_password">Admin Password</label>
                                <input type="password" class="form-control <?php echo e($errors->has('admin_password') ? ' is-invalid ' : ''); ?>" id="admin_password" name="admin_password" value="<?php echo e(old('admin_password')); ?>" placeholder="password">

                                <?php if($errors->has('admin_password')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('admin_password')); ?></div>
                                <?php endif; ?>
                            </div>

                            <footer class="text-center">
                                <button class="btn btn-info" type="submit">Next Install</button>
                            </footer>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.installer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\mopie-14\engine\resources\views/installer/environment.blade.php ENDPATH**/ ?>