<h5 class="title pb-3"><?php echo app('translator')->get('profile.modal.header.update_avatar.title'); ?></h5>

<form action="<?php echo e(route('profile.avatar.update')); ?>" method="post" enctype="multipart/form-data" async-form on-async-modal data-event="avatar.updated">
    <?php echo csrf_field(); ?>

    <?php echo method_field('put'); ?>

    <div class="row gy-4 text-center" image-picker data-toggle-submit-btn="true" data-max-size="1048576">
        <div class="col-md-12">
            <input type="file" name="avatar" class="d-none" accept=".jpg,.jpeg,.png,.gif">
            <div class="user-avatar auth-avatar xl" style="margin: 0 auto;">
                <?php echo getAvatarHtml(); ?>

            </div>
        </div>
        <div class="col-md-12">
            <a href="javascript:void(0);" class="btn btn-sm btn-light"><?php echo app('translator')->get('profile.update_avatar.form.buttons.choose_avatar'); ?></a>
            <br>
            <button type="submit" class="btn btn-sm btn-secondary mt-2" style="display: none;"><?php echo app('translator')->get('profile.update_avatar.form.buttons.start_upload'); ?></button>
        </div>
    </div>
</form>
<?php /**PATH C:\Users\WB\Desktop\vehicle-listing-backend\resources\views/profile/modals/avatar.blade.php ENDPATH**/ ?>