@extends('layouts/contentNavbarLayout') @section('title', 'Parking Spot') @section('page-style') @endsection @section('content')

Home / Parking Spot

@isset($spot) {!! Form::model($spot, ['route' => ['parking-spot.update', Crypt::encrypt($spot->id)], 'method' => 'put', 'class' => 'p-4 progress-form', 'id' => 'progress-form', 'files' => true]) !!} @else {!! Form::open(['url' => '/parking-spot', 'class' => 'p-4 progress-form', 'id' => 'progress-form', 'lang' => 'en', 'files' => true]) !!} @endisset
Assignment Details
{!! Form::label('spot_id', 'Parking Spot ID', ['class' => 'form-label']) !!} {!! Form::text('spot_id', @$spot_id, ['class' => 'form-control', 'id' => 'spot_id', 'readonly' ]) !!}
{!! Form::label('description', 'Location Description', ['class' => 'form-label']) !!} {!! Form::text('description', @$spot->description, ['class' => 'form-control', 'id' => 'description', 'placeholder' => 'Location Description']) !!}
{!! Form::label('type', 'Spot Type', ['class' => 'form-label']) !!} {!! Form::select('type', ['' => 'Select Type', 'Car' => 'Car', 'Motorcycle' => 'Motorcycle', 'Handicap' => 'Handicap'], @$spot->type, ['class' => 'form-select form-select-lg', 'id' => 'largeSelect']) !!}
Spot Specifications
{!! Form::label('size', 'Size/Dimensions', ['class' => 'form-label']) !!} {!! Form::text('size', @$spot->size, ['class' => 'form-control', 'id' => 'size', 'placeholder' => 'Size/Dimensions']) !!}
{!! Form::label('features', 'Special Features', ['class' => 'form-label']) !!} {!! Form::select('features[]', ['EV charging' => 'EV charging', 'Covered Spot' => 'Covered Spot'], @$spot->features, ['id' => 'largeSelect', 'class' => 'form-select form-select-lg', 'multiple' => true]) !!}
Account Status
{!! Form::label('status', 'Active', ['class' => 'form-check-label', 'for' => 'status']) !!} {!! Form::checkbox('status', 1, @$spot->status, ['class' => 'form-check-input', 'id' => 'status']) !!}
{!! Form::button('Submit', ['type' => 'submit', 'class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection @section('page-script') @endsection