feat: add profile image editing and update profile validation
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
<?php if($flight->images && $flight->images->count() > 0): ?>
|
||||
<?php if($flight->images->count() > 1): ?>
|
||||
<?php $__currentLoopData = $flight->images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<img src="<?php echo e(asset($image->path)); ?>" alt="<?php echo e($flight->flight_number); ?>">
|
||||
<img src="<?php echo e(getFileUrl($image->file_id)); ?>" alt="<?php echo e($flight->flight_number); ?>">
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(asset($flight->images->first()->path)); ?>" alt="<?php echo e($flight->flight_number); ?>">
|
||||
<img src="<?php echo e(getFileUrl($flight->images->first()->file_id)); ?>" alt="<?php echo e($flight->flight_number); ?>">
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(asset('assets/img/flight/single-1.jpg')); ?>" alt="<?php echo e($flight->flight_number); ?>">
|
||||
|
||||
Reference in New Issue
Block a user