Advertisement
Guest User

Untitled

a guest
Oct 9th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.11 KB | None | 0 0
  1. @extends('layouts.main')
  2. @section('title')
  3.     CRUD Produk
  4. @endsection
  5. @section('content')
  6.     <table class="table table-dark" border="1">
  7.         <thead>
  8.             <tr>
  9.                 <td>No. </td>
  10.                 <th>Nama</th>
  11.                 <th>Gambar</th>
  12.                 <th>Harga</th>
  13.                 <th>Harna</th>
  14.                 <th>Stock</th>
  15.                 <th>Deskripsi</th>
  16.                 <th>Info</th>
  17.                 <th>Ukuran_id</th>
  18.                 <th>Kategori_id</th>
  19.             </tr>
  20.         </thead>
  21.         <tbody>
  22.             @foreach($produks as $produk)
  23.             <tr>
  24.                 <th>No</th>
  25.                 <th>{{$produk['nama']}}</th>
  26.                 <th>{{$produk['gambar']}}</th>
  27.                 <th>{{$produk['harga']}}</th>
  28.                 <th>{{$produk['stock']}}</th>
  29.                 <th>{{$produk['deskripsi']}}</th>
  30.                 <th>{{$produk['info']}}</th>
  31.                 <th>{{$produk['ukuran_id']}}</th>
  32.                 <th>{{$produk['kategori_id']}}</th>
  33.             </tr>
  34.             @endforeach
  35.         </tbody>
  36.     </table>
  37. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement