@extends('master')
	@section('content')
	<div class="row">
	<div class="col-md-12">
	<h2>Daftar Buku di Perpustakaan</h2>
	<a href="{{route('mahasiswa')}}">Back</a><br>
	</div>
	</div>
	<div class="row">
		<table class="table table-striped">
		<tr>
		<th>No.</th>
		<th>Nama Buku</th>
		<th>Penulis</th>
		<th>ISBN</th>
		</tr>

		

		<?php $no=1; ?>

		@foreach($books as $book)

		<tr>
		<td>{{$no++}}</td>
		<td>{{$book->nama_buku}}</td>
		<td>{{$book->penulis}}</td>
		<td>{{$book->isbn}}</td>
		<td>
		
		</td>

		</tr>

		@endforeach

		</table>
		</div>



	@stop