@extends('admin.layouts.app') @section('content')

Highlight

@foreach (['success', 'info', 'danger', 'warning'] as $msg) @if (Session::has($msg)) @endif @endforeach
@can('create-highlight') Create @endcan Reset
@foreach ($highlights as $key => $highlight) @endforeach
Sr.Nom Status Image Action
{{ $highlight->id }}
@csrf @method('PUT')
@if (!empty($highlight->img_src)) {{ $highlight->img_src }} @elseif(!empty($highlight->img_url)) Current Image @else Default User @endif
@can('edit-highlight') Edit @endcan @can('delete-highlight')
@csrf @method('DELETE')
@endcan
@endsection