@extends('layouts.admin') @push('styles') @endpush @section('content')
{{ trans('global.create') }} {{ trans('cruds.device.title_singular') }}
@csrf
@if($errors->has('user'))
{{ $errors->first('user') }}
@endif {{ trans('cruds.device.fields.user_helper') }}
{{--
@if($errors->has('device'))
{{ $errors->first('device') }}
@endif {{ trans('cruds.device.fields.device_helper') }}
--}}
@if($errors->has('serial_number'))
{{ $errors->first('serial_number') }}
@endif {{ trans('cruds.device.fields.serial_number_helper') }}
@if($errors->has('type'))
{{ $errors->first('type') }}
@endif {{ trans('cruds.device.fields.type_helper') }}
@if($errors->has('specification'))
{{ $errors->first('specification') }}
@endif {{ trans('cruds.device.fields.specification_helper') }}
@if($errors->has('lat'))
{{ $errors->first('lat') }}
@endif {{ trans('cruds.device.fields.lat_helper') }}
@if($errors->has('long'))
{{ $errors->first('long') }}
@endif {{ trans('cruds.device.fields.long_helper') }}
{{-- --}} {{-- --}}
  Click the button to scan device
  Click the button to get coordinate
@endsection @section('scripts') @if(Auth::check()) @endif @endsection