@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/hardware/form.bulk_delete') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')

{{ trans('admin/hardware/form.bulk_delete_help') }}

{{csrf_field()}}

{{ trans('admin/hardware/form.bulk_delete_warn', ['asset_count' => count($assets)]) }}

@foreach ($assets as $asset) @endforeach
{{ trans('admin/hardware/table.id') }} {{ trans('general.asset_name') }} {{ trans('admin/hardware/table.location')}} {{ trans('admin/hardware/table.assigned_to') }}
{{ $asset->id }} {{ $asset->present()->name() }} @if ($asset->location) {{ $asset->location->name }} @endif {{ $asset->assigned_to }} @if ($asset->assignedTo) {{ $asset->assignedTo->present()->name()}} @endif
@stop