@extends('layouts.admin') @section('title',$d['title']) @section('content')

{{ $d['title'] }}

+ Add new

@foreach($d['list'] as $c)@endforeach@foreach($rows as $row)@foreach($d['list'] as $c)@endforeach@endforeach
{{ ucfirst(str_replace('_',' ',$c)) }}
{{ is_bool($row->$c) ? ($row->$c?'yes':'no') : $row->$c }}Edit
@csrf @method('DELETE')
{{ $rows->links() }}@endsection