Viewing file: 45e2c057af2e23a8beeb1cefe0d5111b.php (5.33 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title','Settings'); ?>
<?php $__env->startSection('extra-css'); ?> <style> .w-100{ width: 100%; } </style> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <section class="content-header">
</section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-10"> <!-- Custom Tabs --> <div class="card"> <input type="hidden" value="<?php echo e(request()->get('type')); ?>" id="url-type"> <div class="card-header d-flex p-0"> <div class="row"> <h2 class="card-title p-3 d-block w-100"><a href="<?php echo e(route('customer.settings.index')); ?>"><?php echo e(trans('customer.settings')); ?></a></h2> <ul class="nav nav-pills ml-3 custom-ul-section"> <li class="nav-item"><a class="nav-link active" href="#profile_tab" data-toggle="tab"><?php echo e(trans('customer.profile')); ?></a> </li> <li class="nav-item"><a class="nav-link" href="#password_tab" data-toggle="tab"><?php echo e(trans('customer.password')); ?></a> </li>
</ul> </div> </div><!-- /.card-header --> <div class="card-body"> <div class="tab-content"> <div class="tab-pane active" id="profile_tab"> <form method="post" role="form" id="profile_form" action="<?php echo e(route('customer.settings.profile_update')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php echo $__env->make('customer.settings.profile_form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button> </form> </div>
<div class="tab-pane" id="password_tab"> <form method="post" role="form" id="password_form" action="<?php echo e(route('customer.settings.password_update')); ?>"> <?php echo csrf_field(); ?> <?php echo $__env->make('customer.settings.password_form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<button type="submit" class="btn btn-primary"><?php echo e(trans('customer.submit')); ?></button> </form> </div>
</div> <!-- /.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="<?php echo e(asset('plugins/bs-custom-file-input/bs-custom-file-input.js')); ?>"></script>
<script !src=""> "use strict"; let $validate; $validate = $('#profile_form').validate({ rules: { email: { required: true, email: true, }, 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.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/fitness.picotech.app/public_html/resources/views/customer/settings/index.blade.php ENDPATH**/ ?>
|