<?php if (isset($component)) { $__componentOriginale787fe3c7876de31b3282840e9fc8f62 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale787fe3c7876de31b3282840e9fc8f62 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'common::install.components.install-layout','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('install-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <p class="mb-24">Enter credentials for the super admin account.</p>

    <?php if($errors->hasAny()): ?>
        <div class="bg-danger p-10 mb-20 rounded-md text-white ">
            <div class="font-semibold mb-6">There was an issue. This is the error message:</div>
            <div class="text-sm"><?php echo e($errors->first()); ?></div>
        </div>
    <?php endif; ?>

    <form action="<?php echo e(url('install/admin/validate')); ?>" method="post" class="w-full">
        <?php echo csrf_field(); ?>
        <div class="mb-20">
            <label for="email" class="block mb-4 text-sm">Admin email</label>
            <input type="text" name="email" id="email" class="block py-8 px-12 border rounded shadow w-full" value="<?php echo e(old('email')); ?>" required>
            <?php if($errors->has('email')): ?>
                <div class="text-danger text-sm mt-4"><?php echo e($errors->get('email')[0]); ?></div>
            <?php endif; ?>
        </div>
        <div class="mb-20">
            <label for="password" class="block mb-4 text-sm">Admin password</label>
            <input type="password" name="password" id="password" class="block py-8 px-12 border rounded shadow w-full" value="<?php echo e(old('password')); ?>" required>
            <?php if($errors->has('password')): ?>
                <div class="text-danger text-sm mt-4"><?php echo e($errors->get('password')[0]); ?></div>
            <?php endif; ?>
        </div>
        <div class="mb-20">
            <label for="password_confirmation" class="block mb-4 text-sm">Confirm password</label>
            <input type="password" name="password_confirmation" id="password_confirmation" class="block py-8 px-12 border rounded shadow w-full" value="<?php echo e(old('password_confirmation')); ?>" required>
            <?php if($errors->has('password_confirmation')): ?>
                <div class="text-danger text-sm mt-4"><?php echo e($errors->get('password_confirmation')[0]); ?></div>
            <?php endif; ?>
        </div>
        <?php if (isset($component)) { $__componentOriginale49165d24e23a99ce9bef721914cd27c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale49165d24e23a99ce9bef721914cd27c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'common::install.components.install-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('install-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>Continue <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale49165d24e23a99ce9bef721914cd27c)): ?>
<?php $attributes = $__attributesOriginale49165d24e23a99ce9bef721914cd27c; ?>
<?php unset($__attributesOriginale49165d24e23a99ce9bef721914cd27c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale49165d24e23a99ce9bef721914cd27c)): ?>
<?php $component = $__componentOriginale49165d24e23a99ce9bef721914cd27c; ?>
<?php unset($__componentOriginale49165d24e23a99ce9bef721914cd27c); ?>
<?php endif; ?>
    </form>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale787fe3c7876de31b3282840e9fc8f62)): ?>
<?php $attributes = $__attributesOriginale787fe3c7876de31b3282840e9fc8f62; ?>
<?php unset($__attributesOriginale787fe3c7876de31b3282840e9fc8f62); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale787fe3c7876de31b3282840e9fc8f62)): ?>
<?php $component = $__componentOriginale787fe3c7876de31b3282840e9fc8f62; ?>
<?php unset($__componentOriginale787fe3c7876de31b3282840e9fc8f62); ?>
<?php endif; ?>
<?php /**PATH /var/www/payraty/helpdesk/common/resources/views/install/admin.blade.php ENDPATH**/ ?>