Added delete link in the people index.
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
@section('title', 'Personen')
|
@section('title', 'Personen')
|
||||||
|
|
||||||
|
@section('subnav')
|
||||||
|
<a href='/people/create'>Neue Person</a>
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<table border='1'>
|
<table border='1'>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -31,7 +35,8 @@
|
|||||||
<td>{{ $person->phone }}</td>
|
<td>{{ $person->phone }}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href='/people/{{ $person->id }}'>Anzeigen</a><br />
|
<a href='/people/{{ $person->id }}'>Anzeigen</a><br />
|
||||||
<a href='/people/{{ $person-> id }}/edit'>Bearbeiten</a>
|
<a href='/people/{{ $person->id }}/edit'>Bearbeiten</a><br />
|
||||||
|
<a href='/people/{{ $person->id }}/delete'>Löschen</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user