@if ($firstname = auth()->user()->getCustomValue('firstname')) Hi {{ $firstname }}! @endif Let's set up your tracking device
{!! Form::open(['route' => ['register.step.store', 'device'], 'method' => 'POST']) !!} {!! Form::hidden('id', $item->id) !!}
{!! Form::label('name', trans('validation.attributes.device_name').'*', ['class' => 'control-label']) !!}
{!! Form::text('name', $item->name, ['class' => 'form-control']) !!} @if (File::exists(public_path('images/device_name.png'))) {!! tooltipMarkImei(asset('images/device_name.png'), '') !!} @endif
{!! Form::label('imei', trans('validation.attributes.imei').'*', ['class' => 'control-label']) !!}
{!! Form::text('imei', $item->imei, ['class' => 'form-control']) !!} @if (File::exists(public_path('images/device_imei.png'))) {!! tooltipMarkImei(asset('images/device_imei.png'), '') !!} @endif
@if (config('addon.custom_device_add'))
{!! Form::label('device_type_id', trans('validation.attributes.device_type_id').'*', ['class' => 'control-label']) !!} {!! Form::select('device_type_id', $deviceTypes->pluck('title', 'id'), $item->device_type_id, ['class' => 'form-control']) !!}
@endif @include('Frontend.CustomFields.panel')
@if (!empty($backUrl)) {!! trans('global.back') !!} @endif {!! Form::close() !!}