<table class=" table table-bordered table-striped datatable">
{{ trans('global.auditLog.fields.id') }}
{{ trans('global.auditLog.fields.description') }}
{{ trans('global.auditLog.fields.subject_id') }}
{{ trans('global.auditLog.fields.subject_type') }}
{{ trans('global.auditLog.fields.user_id') }}
{{ trans('global.auditLog.fields.host') }}
{{ trans('global.auditLog.fields.created_at') }}
@foreach($auditLogs as $key => $auditLog)
{{ $auditLog->id ?? '' }}
{{ $auditLog->description ?? '' }}
{{ $auditLog->subject_id ?? '' }}
{{ $auditLog->subject_type ?? '' }}
{{ $auditLog->user_id ?? '' }}
{{ $auditLog->host ?? '' }}
{{ $auditLog->created_at ?? '' }}
<a class="btn btn-xs btn-primary" href="{{ route('admin.audit-logs.show', $auditLog->id) }}">
{{ trans('global.view') }}
<a class="btn btn-xs btn-info" href="{{ route('admin.audit-logs.edit', $auditLog->id) }}">
{{ trans('global.edit') }}
<form action="{{ route('admin.audit-logs.destroy', $auditLog->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;">
<input type="hidden" name="_method" value="DELETE">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}">