@extends('layouts.main') @section('title') {{ __('Near By Places') }} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
@if (has_permissions('create', 'near_by_places'))

{{ __('Add Place') }}

{!! Form::open(['files' => true, 'data-parsley-validate', 'url' => route('outdoor_facilities.store')]) !!}
{{-- Place Name --}}
{{ Form::label('type', __('Place Name'), ['class' => 'form-label text-center']) }} {{ Form::text('facility', '', ['class' => 'form-control', 'placeholder' => trans('Place Name'), 'data-parsley-required' => 'true']) }}
{{-- Image --}}
{{ Form::label('image', __('Image'), ['class' => ' form-label text-center']) }}
@if(isset($languages) && $languages->count() > 0) {{-- Translations Div --}}
{{ __('Translations for Place') }}
{{-- Fields for Translations --}} @foreach($languages as $key =>$language)
@endforeach
@endif {{-- Save --}}
{{ Form::submit(trans('Save'), ['class' => 'btn btn-primary me-1 mb-1']) }}
{!! Form::close() !!}
@endif
@if (has_permissions('update', 'near_by_places')) @endif
{{ __('ID') }} {{ __('Name') }} {{ __('Image') }}{{ __('Action') }}
@endsection @section('script') @endsection