Viewing file: 2af7a381a2b7f9d4f857724d0bae4144.php (2.9 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title','Edit Contact'); ?>
<?php $__env->startSection('extra-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-10"> <!-- Custom Tabs --> <div class="card mt-3">
<div class="card-header d-flex p-0"> <h2 class="card-title p-3"><a href="<?php echo e(route('customer.contacts.index')); ?>"><?php echo app('translator')->get('customer.contacts'); ?></a></h2> </div><!-- /.card-header --> <div class="card-body"> <form method="post" role="form" id="contactForm" action="<?php echo e(route('customer.contacts.update',[$contact])); ?>"> <?php echo csrf_field(); ?> <?php echo method_field('put'); ?> <?php echo $__env->make('customer.contacts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo app('translator')->get('customer.submit'); ?></button> </form> <!-- /.tab-content --> </div><!-- /.card-body --> </div> <!-- ./card -->
</div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/jquery-validation/jquery.validate.min.js')); ?>"></script> <script !src=""> "use strict"; $('#contactForm').validate({ rules: { first_name: { required: true } }, messages: { name: { required:"Please provide first 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.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/test.sms.picotech.app/public_html/resources/views/customer/contacts/edit.blade.php ENDPATH**/ ?>
|