<tbody>
@foreach($nvr as $key => $value)
<tr>
<td>{{ $value->nvr_id }}</td>
<td>{{ $value->n_name }}</td>
<td>{{ $value->n_ip }}</td>
<!-- we will also add show, edit, and delete buttons -->
<td>
<a class="btn btn-small btn-success" href="{{ route('check.create','nvr_id='.$value->nvr_id) }}">Check</a>
<!-- delete the nerd (uses the destroy method DESTROY /nerds/{id} -->
<!-- we will add this later since its a little more complicated than the other two buttons -->
<!-- show the nerd (uses the show method found at GET /nerds/{id} -->
<a class="btn btn-small btn-success" href="{{ route('nvr.show',$value->nvr_id) }}">Show</a>
<!-- edit this nerd (uses the edit method found at GET /nerds/{id}/edit -->
<a class="btn btn-small btn-info" href="{{ route('nvr.edit',$value->nvr_id) }}">Edit</a>
{!! Form::open(['method' => 'DELETE','route' => ['nvr.destroy',$value->nvr_id],'style'=>'display:inline']) !!}
{!! Form::submit('Delete',['class'=>'btn btn-danger']) !!}
{!! Form::close() !!}
</td>
</tr>
@endforeach
</tbody>