Fixes modal showing entire model data instead of just the name

This commit is contained in:
mikeroq 2022-07-09 14:09:40 -05:00
parent 3988c0e3f0
commit 397e89cbed

View file

@ -503,7 +503,7 @@
</td>
<td>{{ $file->created_at }}</td>
<td>
<a class="btn delete-asset btn-danger btn-sm" href="{{ route('delete/licensefile', [$license->id, $file->id]) }}" data-content="{{ trans('general.delete_confirm', array('item' => $file)) }}" data-title="{{ trans('general.delete') }} {{ $file->filename }}?">
<a class="btn delete-asset btn-danger btn-sm" href="{{ route('delete/licensefile', [$license->id, $file->id]) }}" data-content="{{ trans('general.delete_confirm', ['item' => $file->filename]) }}" data-title="{{ trans('general.delete') }}">
<i class="fas fa-trash icon-white" aria-hidden="true"></i>
<span class="sr-only">{{ trans('general.delete') }}</span>
</a>
@ -575,5 +575,4 @@
@section('moar_scripts')
@include ('partials.bootstrap-table')
@stop
@stop