<%-include('header')-%>
            <!-- HEADER DESKTOP-->
            <script>
                    function passwordconfirm(){
                    var x=document.forms["registration"]["Admin_password"].value;
                    var y=document.forms["registration"]["Admin_confirm_password"].value;
                    var z=document.forms["registration"]["Admin_contact_no"].value;
                    
                        if(x==y){
                            var phoneno = /[7-9]{1}[0-9]{9}/ ;
                                if((z.match(phoneno)))
                                {
                                    alert("Registred Successfully");
                                    return true;
                                }
                                else
                                {
                                alert("Contact Number should be 10 letters");
                                return false;
                                }
                            
                         }
                        else{
                            alert("password don't match");
                           return false;
                        }
                    }
                    </script> 
                        
            <!-- END MAIN CONTENT-->
            <!-- END PAGE CONTAINER-->
 <!-- Jquery JS-->
           <!-- MAIN CONTENT-->
           <div class="main-panel">
            <div class="content-wrapper">
                    <div class="page-header" style="margin-bottom:30px; margin-right:30px">
                            <h3 class="page-title" style="margin-left:200px;padding-top:20px">
                            <b>Admin Edit Form</b>
                            </h3>
                            <a href="/customer/data_display" ><img src="/images/icons/back.png" width="30px" style="margin-left: 20px;margin-top: 20px; margin-bottom: 20px" title="back"alt="back"></a>
                    </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="card">
                    <div class="card-body">
                        <h4 class="card-title">Admin Edit Form</h4>
                        <form method="POST" onsubmit="return(passwordconfirm());">
                                <label for="Admin_id" class=" form-control-label">Admin_id</label>
                                <input type="text" placeholder="Enter Admin_Id" value="<%=admin_array.Admin_id%>" name="Admin_id" class="form-control"  required />
                                <label for="Admin_name" class=" form-control-label">Admin Name</label>
                                <input type="text" placeholder="Enter Admin Name" value="<%=admin_array.Admin_name%>" name="Admin_name"class="form-control" required />
                                <label for="Admin_contact_no" class=" form-control-label">Contact Number</label>
                                <input type="text" placeholder="Enter Contact" value="<%=admin_array.Admin_contact_no%>" name="Admin_contact_no" class="form-control" required />
                                <label for="Admin_email" class=" form-control-label">Email</label>
                                <input type="text" placeholder="Enter your Email" value="<%=admin_array.Admin_email%>" name="Admin_email" class="form-control" required />
                                <label for="Admin_password" class=" form-control-label">Password</label>
                                <input type="text" placeholder="Enter Password" name="Admin_password" value="<%=admin_array.Admin_password%>"class="form-control" required />
                                <label for="Confirm Password" class=" form-control-label">Confirm Password</label>
                                <input type="text" placeholder="Confirm Password" name="Admin_confirm_password" value="<%=admin_array.Admin_confirm_password%>"class="form-control" required />
                                <button type="submit" class="btn btn-success btn-sm">Submit</button>
                        </form>
                    </div>
                    </div>
                </div>
            </div>
        </div>
            <!-- content-wrapper ends -->
            <!-- partial:../../partials/_footer.html -->
            <footer class="footer">
        <div class="d-sm-flex justify-content-center justify-content-sm-between">
                <span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Copyright Â© 2018 <a href="https://www.urbanui.com/" target="_blank">Urbanui</a>. All rights reserved.</span>
                <span class="float-none float-sm-right d-block mt-1 mt-sm-0 text-center">Hand-crafted & made with <i class="mdi mdi-heart text-danger"></i></span>
        </div>
            </footer>
            <!-- partial -->
        </div>
        <!-- main-panel ends -->
        </div>
        <!-- page-body-wrapper ends -->
    </div>
    <!-- container-scroller -->
    <!-- plugins:js -->
    <script src="/vendors/js/vendor.bundle.base.js"></script>
    <script src="/vendors/js/vendor.bundle.addons.js"></script>
    <!-- endinject -->
    <!-- inject:js -->
    <script src="/js/off-canvas.js"></script>
    <script src="/js/hoverable-collapse.js"></script>
    <script src="/js/misc.js"></script>
    <script src="/js/settings.js"></script>
    <script src="/js/todolist.js"></script>
    <!-- endinject -->
    <!-- Custom js for this page-->
    <script src="/js/form-validation.js"></script>
    <script src="/js/bt-maxLength.js"></script>
    <!-- End custom js for this page-->
    </body>
    
    
    <!-- Mirrored from www.urbanui.com/gleam/pages/forms/validation.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 10 Sep 2018 06:27:19 GMT -->
    </html> 