feat: add profile image editing and update profile validation
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<div class="listing-content">
|
||||
<div class="listing-slider owl-carousel owl-theme" dir="ltr">
|
||||
<?php if($tour->coverImage?->file): ?>
|
||||
<img src="<?php echo e(getFileUrl($tour->coverImage->file_id)); ?>"
|
||||
class="w-100 h-100"
|
||||
alt="<?php echo e($tour->title); ?>">
|
||||
<?php if($tour->images && $tour->images->count() > 0): ?>
|
||||
<?php if($tour->images->count() > 1): ?>
|
||||
<?php $__currentLoopData = $tour->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<img src="<?php echo e(getFileUrl($image->file_id)); ?>" alt="<?php echo e($tour->flight_number); ?>">
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(getFileUrl($tour->images->first()->file_id)); ?>" alt="<?php echo e($tour->flight_number); ?>">
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(asset('assets/Admin/images/tour/single-2.jpg')); ?>"
|
||||
class="w-100 h-100"
|
||||
alt="<?php echo e($tour->title); ?>">
|
||||
<img src="<?php echo e(asset('assets/img/flight/single-1.jpg')); ?>" alt="<?php echo e($tour->flight_number); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user