@extends("admin.admin_app") @section("content")

{{ isset($hotel_gallery_obj->id) ? 'Edit Image' : 'Add Image' }} for {{ isset($hotels->hotel_name) ? $hotels->hotel_name : null }}

@include('admin.navigation-tabs')
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif
@csrf @php $fields = [ 'fact-sheet' => 'fact_sheet', 'mot-certificate' => 'mot_certificate', 'hotel-certificate' => 'hotel_certificate' ]; @endphp

@php echo ucwords(str_replace('-',' ',$fileType)); @endphp


@if(array_key_exists($fileType, $fields))



@endif @if($fileType == 'video_link')


@endif @if($fileType=='sightseeing')
+
X
@endif @if($fileType=='activities')
+
X
@endif Cancel
@endsection