@extends('layouts.app') @section('title') {{ 'Hotels' }} @endsection @section('breadcrumb', Breadcrumbs::render('hotel-list')) @section('content')
@if(isset($data['name']))

{{ $data['name'] }}

@endif
@if(isset($data['image'])) {{ $data['name'] }} @endif
@if(isset($data['intro_text']))

Intro: {{ $data['intro_text'] }}

@endif @if(isset($data['description']))

Description: {{ $data['description'] }}

@endif @if(isset($data['address']))

Address: {{ $data['address'] }}

@endif @if(isset($data['email']))

Email: {{ $data['email'] }}

@endif @if(isset($data['phone']))

phone: {{ $data['phone'] }}

@endif @if(isset($data['phone_two']))

Second phone: {{ $data['phone_two'] }}

@endif @if(isset($data['editaction'])) @php // echo $data['filesadd']; echo $data['editaction']; echo $data['translateaction']; @endphp @endif
Images
@csrf
{!! Form::select('type', ['1' => 'Gallery', '2' => 'Slider'], null, [ 'class' => 'form-control type', 'required', 'placeholder' => trans('fields.select'), ]) !!} @if ($errors->has('type'))

{{ $errors->first('type') }}

@endif
@if ($errors->has('imageFile'))

{{ $errors->first('imageFile') }}

@endif
{{-- {!! Form::text('url', null, [ 'class' => 'form-control', 'placeholder' => trans('fields.url'), 'rows' => '5', 'maxlength' => '150', ]) !!} @if ($errors->has('url'))

{{ $errors->first('url') }}

@endif --}}

{!! Form::select( 'submit_type', ['' => 'Type', '1' => 'Delete'], isset($result->submit_type) ? $result->submit_type : null, ['class' => ' form-control', 'required', 'id' => 'submit_type', 'data-name' => 'submit_type'], ) !!}
@endsection @section('script') @endsection