@extends('layouts.frontend') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.device.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.device.fields.name_helper') }}
@if($errors->has('uuid'))
{{ $errors->first('uuid') }}
@endif {{ trans('cruds.device.fields.uuid_helper') }}
@if($errors->has('imei'))
{{ $errors->first('imei') }}
@endif {{ trans('cruds.device.fields.imei_helper') }}
@if($errors->has('last_lat'))
{{ $errors->first('last_lat') }}
@endif {{ trans('cruds.device.fields.last_lat_helper') }}
@if($errors->has('last_lon'))
{{ $errors->first('last_lon') }}
@endif {{ trans('cruds.device.fields.last_lon_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('geofences'))
{{ $errors->first('geofences') }}
@endif {{ trans('cruds.device.fields.geofence_helper') }}
@foreach(App\Models\Device::STATUS_RADIO as $key => $label)
status) === (string) $key ? 'checked' : '' }}>
@endforeach @if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.device.fields.status_helper') }}
@endsection