@extends('layouts.app') @php $lat = isset($meeting_detail[0]['latitude']) ? $meeting_detail[0]['latitude'] : 62.60226; $lang = isset($meeting_detail[0]['longitude']) ? $meeting_detail[0]['longitude'] : 29.76359; $icon = isset($meeting_detail[0]['meetingType'][0]['reference']) ? '/meeting-images/'. $meeting_detail[0]['meetingType'][0]['reference'] . '.png' : '/meeting-destination.png'; $time = isset($meeting_detail[0]['time']) ? (strtotime($meeting_detail[0]['time']) - 7200) * 1000 : ''; @endphp @section('content') @push('head') @endpush
Create Meeting
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(array('url' => 'create-meeting')) !!}
{!! Form::text('time', isset($meeting_detail) ? $meeting_detail[0]['time'] : old('time'), ['class'=>'form-control meeting-time', 'placeholder'=>'Meeting Time']) !!}
{!! Form::text('location', isset($meeting_detail) ? $meeting_detail[0]['location'] : old('location'), ['class'=>'form-control', 'id' => 'search-location', 'placeholder'=>'Meeting Location']) !!}
{!! Form::hidden('latitude', old('latitude'), ['id' => 'latitude']) !!} {!! Form::hidden('longitude', old('longitude'), ['id' => 'longitude']) !!} @if(isset($meeting_detail)) {!! Form::hidden('update', '1') !!} {!! Form::hidden('id', $meeting_detail[0]['id']) !!} @endif {!! Form::close() !!}
@endsection