changed route name and table data to show correct info
This commit is contained in:
parent
578dd8d522
commit
b46f8f7b0a
|
@ -11,7 +11,7 @@
|
|||
|
||||
@section("content")
|
||||
<h1>Rediger Link:</h1>
|
||||
<form method="post" action="{{ route("external-links.update", ['name' => $link->name]) }}">
|
||||
<form method="post" action="{{ route("external-links.edit", ['external_link' => $link]) }}">
|
||||
@csrf
|
||||
<label for="title">Titel:</label>
|
||||
<input type="text" name="title" id="title" required>
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
</tr>
|
||||
@foreach($links as $link)
|
||||
<tr>
|
||||
<th>{Titel}</th>
|
||||
<th>{Link}</th>
|
||||
<th>{{$link->name}}</th>
|
||||
<th><a href="{{$link->link}}">{{$link->link}}</th>
|
||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue