added things to external link views and worked in controller

This commit is contained in:
Vedde
2020-06-26 13:56:28 +02:00
parent 59deaf5eb3
commit 89082b281b
8 changed files with 47 additions and 16 deletions
@@ -6,12 +6,12 @@
@endsection
@section("path")
<a href="{{ route('external-links.edit') }}" class="text-white">Rediger Link</a> /
<a href="../external-links/edit.blade.php" class="text-white">Rediger Link</a> /
@endsection
@section("content")
<h1>Rediger Link:</h1>
<form method="post" action="">
<form method="post" action="{{ route("external-links.update", ['name' => $link->name]) }}">
@csrf
<label for="title">Titel:</label>
<input type="text" name="title" id="title" required>