<!DOCTYPE html>

<html lang="en">



<head>

  <meta charset="utf-8">

  <meta content="width=device-width, initial-scale=1.0" name="viewport">



  <title>All Agents - Online Florist</title>

  <meta content="" name="description">

  <meta content="" name="keywords">



  <!-- Favicons -->

  <link href="<?php echo e(asset('admin/img/favicon.png')); ?>" rel="icon">

  <link href="<?php echo e(asset('admin/img/apple-touch-icon.png')); ?>" rel="apple-touch-icon">



  <!-- Google Fonts -->

  <link href="https://fonts.gstatic.com" rel="preconnect">

  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">



  <!-- Vendor CSS Files -->

  <link href="<?php echo e(asset('admin/assets/vendor/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/bootstrap-icons/bootstrap-icons.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/boxicons/css/boxicons.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/quill/quill.snow.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/quill/quill.bubble.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/remixicon/remixicon.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('admin/assets/vendor/simple-datatables/style.css')); ?>" rel="stylesheet">



  <!-- Template Main CSS File -->

  <link href="<?php echo e(asset('admin/assets/css/style.css')); ?>" rel="stylesheet">



</head>



<body>



  <main>

    <div class="container">



      <section class="section register min-vh-100 d-flex flex-column align-items-center justify-content-center py-4">

        <div class="container">

          <div class="row justify-content-center">

            <div class="col-lg-4 col-md-6 d-flex flex-column align-items-center justify-content-center">

          	<a href="<?php echo e(route('all-agents')); ?>">

	           <button type="button" class="btn btn-success">All Agents</button>

	        </a>	

              <div class="d-flex justify-content-center py-4">

                <a href="index.html" class="logo d-flex align-items-center w-auto">

                  <img src="<?php echo e(asset('admin/img/logo.png')); ?>" alt="">

                  <span class="d-none d-lg-block">Agent Registration</span>

                </a>

              </div><!-- End Logo -->



              <div class="card mb-3">



                <div class="card-body">



                  <div class="pt-4 pb-2">

                    <h5 class="card-title text-center pb-0 fs-4">Register Your Agent</h5>

                    <p class="text-center small">Enter agent details to register</p>

                  </div>



                  <form class="row g-3 needs-validation" action="<?php echo e(route('doregister')); ?>" method="post" novalidate>

                    <?php echo csrf_field(); ?>



                    <div class="col-12">

                      <label for="yourUsername" class="form-label">Name</label>

                        <input type="text" value="<?php echo e($result['name']); ?>" name="name" class="form-control" id="name" required>

                        <div class="invalid-feedback">Please enter your name</div>

                    </div>



                    <div class="col-12">

                      <label for="yourUsername" class="form-label">Email</label>

                        <input type="email" value="<?php echo e($result['email']); ?>" name="email" class="form-control" id="email" required>

                        <div class="invalid-feedback">Please enter your email</div>

                        <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>

                          <div class="alert alert-danger" role="alert">

                            <?php echo e($message); ?>


                          </div>

                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                    </div>



                    <div class="col-12">

                      <label for="yourPassword" class="form-label">Password</label>

                      <input type="password" name="password" class="form-control" id="password" required>

                      <div class="invalid-feedback">Please enter your password!</div>

                    </div>



                    <div class="col-12">

                      <label for="yourPassword" class="form-label">Confirm Password</label>

                      <input type="password" name="cpassword" class="form-control" id="cpassword" required>

                      <div class="invalid-feedback">Confirm your password!</div>

                      <?php $__errorArgs = ['cpassword'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>

                        <div class="alert alert-danger" role="alert">

                          <?php echo e($message); ?>


                        </div>

                      <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

                    </div>

                    

                    <div class="col-12">

                      <button class="btn btn-primary w-100" type="submit">Register</button>

                    </div>

                    <input type="hidden" name="id" value="<?php echo e($result['id']); ?>" />

                  </form>



                </div>

              </div>



            </div>

          </div>

        </div>



      </section>



    </div>

  </main><!-- End #main -->



  <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>



  <!-- Vendor JS Files -->

  <script src="<?php echo e(asset('admin/assets/vendor/apexcharts/apexcharts.min.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/chart.js/chart.umd.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/echarts/echarts.min.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/quill/quill.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/simple-datatables/simple-datatables.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/tinymce/tinymce.min.js')); ?>"></script>

  <script src="<?php echo e(asset('admin/assets/vendor/php-email-form/validate.js')); ?>"></script>



  <!-- Template Main JS File -->

  <script src="<?php echo e(asset('admin/assets/js/main.js')); ?>"></script>



</body>



</html><?php /**PATH /home/rightflorist/public_html/ofadmin.rightflorist.org/resources/views/register.blade.php ENDPATH**/ ?>