<?php echo $__env->make('admin.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<style >.card{border-radius: 1px!important;}</style>
 
<div class="container ">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card shadow-sm">
          
                <div class="card-body">
                     <?php if(session('admin')): ?>
                        <div class="alert alert-success" style="border-radius: 1px;">
                            <?php echo e(session('admin')); ?>

                        </div>
                    <?php endif; ?>

                    <form method="POST" action="<?php echo e(route('admin.store')); ?>" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>

     <div class="mb-3">
                            <label class="form-label">Full Name</label>
                            <input type="text" name="name" class="form-control" required placeholder="Enter Name">
                        </div>
                        <div class="mb-3">
                            <label class="form-label">Email</label>
                            <input type="email" name="email" class="form-control" required placeholder="Enter Email">
                        </div>

                        <div class="mb-3">
                            <label class="form-label">Password</label>
                            <input type="password" name="password" class="form-control" required placeholder="Enter Password">
                        </div>

                        <div class="mb-3">
                            <label class="form-label">Profile Image</label>
                            <input type="file" name="profile_image" class="form-control">
                        </div>

                        <div class="d-grid">
                            <button type="submit" class="btn btn-success text-white">Add Admin</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


           
<?php echo $__env->make('admin.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH E:\xampp2\htdocs\texsia\resources\views/admin/create.blade.php ENDPATH**/ ?>