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,13 @@
@endsection
@section("path")
<a href="{{ route('menu-plans.edit') }}" class="text-white">Rediger Menuplan</a> /
<a class="text-white">Rediger Menuplan</a> /
@endsection
@section("content")
<h1>Rediger Menuplan:</h1>
<form method="post" action="">
<form method="post" action="{{ route("menu-plans.store") }}">
@csrf
<label for="mandag">Mandag:</label>
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
<label for="tirsdag">Tirsdag:</label>