@extends('layouts.admin') @section('content')
id) }}" enctype="multipart/form-data"> @method('PUT') @csrf
{{ trans('global.edit') }} CCTV
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.cctv.fields.name_helper') }}
@if($errors->has('location'))
{{ $errors->first('location') }}
@endif {{ trans('cruds.cctv.fields.location_helper') }}
@if($errors->has('lat'))
{{ $errors->first('lat') }}
@endif {{ trans('cruds.cctv.fields.lat_helper') }}
@if($errors->has('long'))
{{ $errors->first('long') }}
@endif {{ trans('cruds.cctv.fields.long_helper') }}
{{ trans('global.edit') }} CCTV
@if($errors->has('vendor'))
{{ $errors->first('vendor') }}
@endif {{ trans('cruds.cctv.fields.vendor_helper') }}
@if($errors->has('model'))
{{ $errors->first('model') }}
@endif {{ trans('cruds.cctv.fields.model_helper') }}
@if($errors->has('stream_type'))
{{ $errors->first('stream_type') }}
@endif {{ trans('cruds.cctv.fields.stream_type_helper') }}
@if($errors->has('stream_url'))
{{ $errors->first('stream_url') }}
@endif {{ trans('cruds.cctv.fields.stream_url_helper') }}
@if($errors->has('ip_address'))
{{ $errors->first('ip_address') }}
@endif {{ trans('cruds.cctv.fields.ip_address_helper') }}
@if($errors->has('port'))
{{ $errors->first('port') }}
@endif {{ trans('cruds.cctv.fields.port_helper') }}
@if($errors->has('username'))
{{ $errors->first('username') }}
@endif {{ trans('cruds.cctv.fields.username_helper') }}
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif {{ trans('cruds.cctv.fields.password_helper') }}
{{-- $table->string('firmware_version')->nullable()->comment('Firmware version of the CCTV camera'); $table->string('hardware_version')->nullable()->comment('Hardware version of the CCTV camera'); $table->string('mac_address')->nullable()->comment('MAC address of the CCTV camera'); --}}
@if($errors->has('detection_types'))
{{ $errors->first('detection_types') }}
@endif {{-- {{ trans('cruds.cctv.fields.stream_type_helper') }} --}}
@endsection @section('scripts') @endsection