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