From a4b32e2328a80a1074ed1aa18bbaae55c3a6eb6d Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 11 Jan 2018 15:17:10 -0800 Subject: [PATCH] Improved - use presenters on model detail --- resources/views/models/view.blade.php | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php index e0d98a3920..cf025732ee 100755 --- a/resources/views/models/view.blade.php +++ b/resources/views/models/view.blade.php @@ -60,26 +60,14 @@ - - - - - - - - - - - - - + data-cookie-id-table="modelDetailAssets" + data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}">
{{ trans('general.id') }}{{ trans('admin/companies/table.title') }}{{ trans('general.name') }}{{ trans('general.asset_tag') }}{{ trans('admin/hardware/table.serial') }}{{ trans('admin/hardware/form.checkedout_to') }}{{ trans('admin/hardware/table.change') }}{{ trans('table.actions') }}
{{ Form::close() }}