@extends('layouts/contentNavbarLayout') @section('title', 'Tables - Basic Tables') @section('content')

Projects /Category / Manage Gallery


@if(session('success') || session('error'))
{{ session('success') ? session('success') : session('error') }}
@endif @if(count($projects) > 0)
@foreach($projects->first()->getTableColumns() as $column) @if ($column !== 'id' && $column !== 'project_id') @endif @endforeach @foreach($projects as $project) @foreach($project->getTableColumns() as $column) @if ($column !== 'id' && $column !== 'project_id') @endif @endforeach @endforeach
{{ ucfirst($column) }}Actions
@if ($column === 'image_path' && !empty($project->{$column})) {{ $project->image_alt }} @else {{ $project->{$column} }} @endif
@else
No projects gallery found.
@endif
@endsection