| <!DOCTYPE html>␊ |
| <html>␊ |
| <head>␊ |
| ␉<title>Look! I'm CRUDding</title>␊ |
| ␉<title>Welcome To Mentconnect</title>␊ |
| ␉<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">␊ |
| </head>␊ |
| <body>␊ |
|
| ␊ |
| ␉␉␉<!-- we will also add show, edit, and delete buttons -->␊ |
| ␉␉␉<td>␊ |
| ␊ |
| ␉␉␉␉<!-- 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 -->␊ |
| ␊ |
| ␉␉␉␉{{ Form::open(array('url' => 'mentors/' . $value->id, 'class' => 'pull-right')) }}␊ |
| ␉␉␉␉␉{{ Form::hidden('method', 'DELETE') }}␊ |
| ␉␉␉␉␉{{ Form::submit('Delete this Mentor', array('class' => 'btn btn-warning')) }}␊ |
| ␉␉␉␉{{ Form::close() }}␊ |
| ␊ |
| ␉␉␉␉<!-- show the nerd (uses the show method found at GET /nerds/{id} -->␊ |
| ␉␉␉␉<a class="btn btn-small btn-success" href="{{ URL::to('mentors/' . $value->id) }}">Show this mentor</a>␊ |
| ␊ |
| ␉␉␉␉<!-- edit this nerd (uses the edit method found at GET /nerds/{id}/edit -->␊ |
| ␉␉␉␉<a class="btn btn-small btn-info" href="{{ URL::to('mentors/' . $value->id . '/edit') }}">Edit this mentor</a>␊ |
| ␊ |
| ␉␉␉</td>␊ |