@extends('dashboard.app')
@section('content')
<div class="row">

    <div class="col-sm-10 mx-auto card mt-4">
        <table id="example" class="display responsive nowrap" style="width:100%">


            <thead>
                <tr>
                    <th>First Name</th>
                    <th>Last Name</th>
                    <th>Phone</th>
                    <th>Email</th>
                    <th>Birthdate</th>
                    <th>Height</th>
                    <th>Instagram</th>
                    <th>Agency</th>
                    <th>Dates in NY</th>
                </tr>
            </thead>
            <tbody>
                @foreach ($entities as $model)
                    <tr>
                        <td>{{ $model->first_name }}</td>
                        <td>{{ $model->last_name }}</td>
                        <td>{{ $model->phone }}</td>
                        <td>{{ $model->email }}</td>
                        <td>{{ $model->birthdate }}</td>
                        <td>{{ $model->height }}</td>
                        <td>{{ $model->instagram }}</td>
                        <td>{{ $model->agency }}</td>
                        <td>{{ $model->dates_in_ny }}</td>
                    </tr>
                @endforeach
            </tbody>
        </table>
    </div>
</div>
@endsection
