@if ($showInput == true)
@include('components.form.input', [
'class' => 'form-control {{$latName}}',
'name' => $latName,
'label' => trans('admin.Latitude'),
'value' => $latValue,
'attribute' => 'required readonly',
])
@include('components.form.input', [
'class' => 'form-control {{$longName}}',
'name' => $longName,
'label' => trans('admin.Longitude'),
'value' => $longValue,
'attribute' => 'required readonly',
])
@endif
{{-- example
@include('components.form.map', [
'name' => "name",
'label' => 'map',
'showInput' => true,
'latName' => 'lat',
'longName' => 'long',
'latValue' => 11,
'longValue' => 21,
])
--}}