@extends('layouts.frontend') @section('content')
{{ trans('global.create') }} {{ trans('cruds.spaceUnit.title_singular') }}
@method('POST') @csrf
@if($errors->has('tower'))
{{ $errors->first('tower') }}
@endif {{ trans('cruds.spaceUnit.fields.tower_helper') }}
@foreach(App\Models\SpaceUnit::TYPE_RADIO as $key => $label)
@endforeach @if($errors->has('type'))
{{ $errors->first('type') }}
@endif {{ trans('cruds.spaceUnit.fields.type_helper') }}
@foreach(App\Models\SpaceUnit::STATUS_RADIO as $key => $label)
@endforeach @if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.spaceUnit.fields.status_helper') }}
@if($errors->has('sensor'))
{{ $errors->first('sensor') }}
@endif {{ trans('cruds.spaceUnit.fields.sensor_helper') }}
@if($errors->has('lat'))
{{ $errors->first('lat') }}
@endif {{ trans('cruds.spaceUnit.fields.lat_helper') }}
@if($errors->has('long'))
{{ $errors->first('long') }}
@endif {{ trans('cruds.spaceUnit.fields.long_helper') }}
@endsection