diff --git a/resources/views/flights/partials/main.blade.php b/resources/views/flights/partials/main.blade.php
index 4a9062b..de2dc9e 100644
--- a/resources/views/flights/partials/main.blade.php
+++ b/resources/views/flights/partials/main.blade.php
@@ -1,12 +1,12 @@
- @if ($flight->images && $flight->images->count() > 0)
- @if ($flight->images->count() > 1)
- @foreach ($flight->images as $image)
-
 }})
+ @if($flight->images && $flight->images->count() > 0)
+ @if($flight->images->count() > 1)
+ @foreach($flight->images as $image)
+
 }})
@endforeach
@else
-
->path) }})
+
->file_id) }})
@endif
@else