@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.incident.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('device'))
{{ $errors->first('device') }}
@endif {{ trans('cruds.incident.fields.device_helper') }}
@if($errors->has('site'))
{{ $errors->first('site') }}
@endif {{ trans('cruds.incident.fields.site_helper') }}
@if($errors->has('user'))
{{ $errors->first('user') }}
@endif {{ trans('cruds.incident.fields.user_helper') }}
@if($errors->has('type'))
{{ $errors->first('type') }}
@endif {{ trans('cruds.incident.fields.type_helper') }}
@foreach(App\Models\Incident::REPORTER_TYPE_RADIO as $key => $label)
reporter_type) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('reporter_type'))
{{ $errors->first('reporter_type') }}
@endif {{ trans('cruds.incident.fields.reporter_type_helper') }}
@if($errors->has('level'))
{{ $errors->first('level') }}
@endif {{ trans('cruds.incident.fields.level_helper') }}
@if($errors->has('datetime'))
{{ $errors->first('datetime') }}
@endif {{ trans('cruds.incident.fields.datetime_helper') }}
@if($errors->has('images'))
{{ $errors->first('images') }}
@endif {{ trans('cruds.incident.fields.images_helper') }}
@endsection @section('scripts') @endsection