@extends('backend.layouts.app') @section('title') Danh sách dự án @endsection @section('content')
@include('backend.layouts.content-header', ['page' => 'Danh sách dự án'])
@includeIf('backend.components.notification') @can('add_slides') @includeIf('backend.components.button.add', ['route' => route('template.add')]) @endcan
@foreach($data as $template) @endforeach
{{ __('label.image') }} {{ __('label.name') }} {{ __('label.theme.theme') }} {{ __('label.sorting') }} {{ __('label.status.status') }} {{ __('label.action.action') }}
{{ $template->name }} {{ !empty($template->theme['name']) ? $template->theme['name'] : 'Khác' }} status == 1 ? 'checked' : '' }} /> @include('backend.components.button.edit', ['route' => route('template.edit', $template->id)]) @include('backend.components.button.delete', ['route' => route('template.delete'), 'id' => $template->id])

{{ $data->links() }}
@endsection @push('css') @endpush @push('js') @endpush