Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.app')
- @section('content')
- <div class="container">
- <table class="display table table-bordered table-condensed table-responsive dynamic-table">
- <thead>
- <tr>
- <th>Naam: </th>
- <th>Email: </th>
- </tr>
- </thead>
- <tbody>
- <br>
- @foreach($fans as $fan)
- <tr class="clickable-row" data-url="/fans/{{ $fan->id }}">
- <td>{{ $fan->name }}</td>
- <td>{{ $fan->email }}</td>
- <td><a href="{{ url('/fans', array('id' => $fan->id)) }}"><button class="btn btn-warning"><span class="glyphicon glyphicon-info-sign"> Info</span></button></a></td>
- <td><a href="{{ url('/fans/' . $fan->id . '/edit') }}"><button class="btn btn-warning"><span class="glyphicon glyphicon-pencil"> Bijwerken</span></button></a></td>
- {!! Form::open(array('route' => array('fans.destroy', $fan->id), 'method' => 'delete')) !!}
- <td><button class="btn btn-danger delBtn" onclick="return confirm('Weet je zeker dat je deze gebruiker wilt verwijderen?')" data-toggle="confirmation" type="submit">Verwijderen</button></td>
- {!! Form::close() !!}
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement