@extends('layouts.app')
@section('title', 'Index Field')
| Name |
Type |
Length |
@if (auth()->user()->level == 'Admin')
Action |
@endif
@php($no = 1)
@foreach ($data as $row)
| {{ $row->name }} |
{{ $row->type }} |
{{ $row->length }} |
@if (auth()->user()->level == 'Admin')
Edit
Delete
|
@endif
@endforeach
@section('scripts')
@endsection