Viewing file: 22d8139298a3ad2d842ca32843ba3afe.php (4.21 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title','Customers'); ?>
<?php $__env->startSection('extra-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Content Header (Page header) --> <div class="content-header custom-content-header"> <h5><?php echo app('translator')->get('admin.customers.title'); ?></h5> <p class="m-0 section-heading-text"> <i class="fa fa-user mr-1 op-07"></i> <span class="panel-name op-07"> <?php echo e(trans('admin.admin_panel')); ?>
</span> <i class="fa fa-angle-double-right ml-1 mr-1" aria-hidden="true"></i> <span class="header-active"><?php echo app('translator')->get('admin.customers.title'); ?></span> </p> </div> <!-- /.content-header -->
<!-- Main content --> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-12"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo app('translator')->get('admin.customers.title'); ?></h2> <a class="btn btn-info btn-sm float-right" href="<?php echo e(route('admin.customers.index')); ?>"><?php echo app('translator')->get('admin.form.button.back'); ?></a> </div> <!-- /.card-header --> <!-- form start --> <form method="post" role="form" id="customerForm" action="<?php echo e(route('admin.customers.store')); ?>"> <?php echo csrf_field(); ?> <div class="card-body"> <?php echo $__env->make('admin.customers.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> <!-- /.card-body -->
<div class="card-footer"> <button type="submit" class="btn btn-sm btn-primary"><?php echo app('translator')->get('admin.form.button.submit'); ?></button> </div> </form> </div>
</div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script !src=""> "use strict"; $('#customerForm').validate({ rules: { email: { required: true, email: true, }, password: { required: true, minlength: 5 }, first_name: { required: true }, last_name: { required: true }, }, messages: { email: { required: "Please enter a email address", email: "Please enter a vaild email address" }, password: { required: "Please provide a password", minlength: "Your password must be at least 5 characters long" }, first_name: { required:"Please provide first name"}, last_name: { required:"Please provide last name"} }, errorElement: 'span', errorPlacement: function (error, element) { error.addClass('invalid-feedback'); element.closest('.form-group').append(error); }, highlight: function (element, errorClass, validClass) { $(element).addClass('is-invalid'); }, unhighlight: function (element, errorClass, validClass) { $(element).removeClass('is-invalid'); } }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/ai.picotech.app/public_html/resources/views/admin/customers/create.blade.php ENDPATH**/ ?>
|