@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']) }} {{ Form::file('image', ['class' => 'form-control', 'data-parsley-required' => 'true', 'accept' => '.svg']) }}
{{-- Save --}}
{{ Form::submit(__('Save'), ['class' => 'btn btn-primary me-1 mb-1', 'id' => 'btn_submit']) }}
{!! Form::close() !!}
@endif
@if (has_permissions('update', 'near_by_places')) @endif
{{ __('ID') }} {{ __('Name') }} {{ __('Image') }}{{ __('Action') }}
@endsection @section('script') @endsection