@extends('layouts.Layout')

@section('content')
        <div class="col-md-12">
            <div class="card">
                <div class="header">
                    <h4>{{$title}}</h4>
                </div>
                    <div class="content table-responsive table-full-width" id="table">
                    <table class="table table-borderless">
                        <tr>
                            <th>No</th>
                            <th>No Pendaftar</th>
                            <th>Nama</th>
                            <th>Status</th>
                            <th></th>
                        </tr>
                        <?php $no =1?>
                        <tr>
                        @foreach($pendaftar as $pen)
                            <td>{{$no++}}</td>
                            <td>{{$pen->no_pendaftar}}</td>
                            <td>{{$pen->nama}}</td>
                            <td>{{$pen->status}}</td>
                        </tr>
                        @endforeach
                    </table>
                </div>
            </div>
        </div>
@endsection