@if(!empty($result))
{{trans('headings.edit-room')}} @else @if($lang==2)
{{trans('headings.translate-hotel')}} @else
{{trans('headings.add-room')}} @endif @endif
@if($errors->any())
{{$errors->first()}}
@endif
{!! Form::label('name', trans('fields.title'),['class' => 'required']) !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' =>'Title', 'required','maxlength'=>'50']) !!} @if ($errors->has('title'))

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

@endif
@if(selectProject() ==2)
{!! Form::label('short_description', trans('fields.short_description')) !!} {!! Form::textarea('short_description', null, ['class' => 'form-control', 'placeholder' =>trans('fields.short_description'), 'rows'=>'5','maxlength'=>'200']) !!} @if ($errors->has('short_description'))

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

@endif
@endif
{!! Form::label('check_in', 'Check-in time',['class' => 'required']) !!} {!! Form::text('check_in', null, ['class' => 'form-control', 'placeholder' =>'Check-in time','required','maxlength'=>'150']) !!} @if ($errors->has('check_in'))

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

@endif
{!! Form::label('check_out', 'Check-out time',['class' => 'required']) !!} {!! Form::text('check_out', null, ['class' => 'form-control', 'placeholder' =>'Check-out time','required','maxlength'=>'150']) !!} @if ($errors->has('check_out'))

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

@endif
{!! Form::label('description', trans('fields.description'),['class' => 'required']) !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' =>'Description', 'rows'=>'5','required','maxlength'=>'1000']) !!} @if ($errors->has('description'))

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

@endif
{!! Form::label('size', trans('fields.size'),['class' => 'required']) !!} {!! Form::number('size', null, ['class' => 'form-control', 'placeholder' =>'Room Size', 'required','maxlength'=>'99']) !!} @if ($errors->has('size'))

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

@endif
{!! Form::label('guest_no', trans('fields.guest_no'),['class' => 'required']) !!} {!! Form::number('guest_no', null, ['class' => 'form-control', 'placeholder' =>'Guest Number', 'rows'=>'5','required','maxlength'=>'999']) !!} @if ($errors->has('guest_no'))

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

@endif
{!! Form::label('type', trans('fields.roomtype'),['class' => '']) !!} {!! Form::text('type', null, ['class' => 'form-control', 'placeholder' =>'Room Type', 'required','maxlength'=>'50']) !!} {{-- {!! Form::select('type',['Queen Bed + Twin Bed'=>'Queen Bed + Twin Bed','Queen Bed'=>'Queen Bed','Twin Bed'=>'Twin Bed'],null, ['class' => 'form-control', 'placeholder' =>'Room Type']) !!} --}} @if ($errors->has('type'))

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

@endif
@if ($lang==1)
{!! Form::label('price', trans('fields.price'),['class' => 'required']) !!} {!! Form::number('price', null, ['class' => 'form-control', 'placeholder' =>'Room Price', 'required','maxlength'=>'9999999']) !!} @if ($errors->has('price'))

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

@endif
@endif
{!! Form::label('Facilities', 'Facilities',['class' => 'required']) !!}
@foreach ($facilities as $item)
@endforeach
@if($lang==1)
  (Allowed File Types: jpeg,png,jpg , with 435*300 pixel, Maximum Size:2MB)
image)) required @endif value="{{isset($result->image)?$result->image:null}}"> @if ($errors->has('image'))

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

@endif
{{isset($result->image)?$result->image:null}}
avatar
@endif
@section('style') @endsection @section('script') @endsection @push('module-js') @endpush