2020-06-25 06:12:53 +00:00
|
|
|
@extends("admin.layout.base")
|
|
|
|
@extends("admin.layout.header")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Menuplan - Rediger
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("path")
|
2020-06-29 06:31:36 +00:00
|
|
|
<a href="{{ route('menu-plans.edit', [ "menu_plan" => $menuplan ]) }}" class="text-white">Rediger Menuplan</a> /
|
2020-06-25 06:12:53 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
|
|
|
<h1>Rediger Menuplan:</h1>
|
2020-06-29 06:31:36 +00:00
|
|
|
<form method="post" action="{{ route("menu-plans.update", [ "menu_plan" => $menuplan ]) }}">
|
|
|
|
@csrf
|
|
|
|
@method("PUT")
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="mandag">Mandag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="mandag" id="mandag" value="{{ $menuplan->monday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="tirsdag">Tirsdag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="tirsdag" id="tirsdag" value="{{ $menuplan->tuesday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="onsdag">Onsdag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="onsdag" id="onsdag" value="{{ $menuplan->wednesday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="torsdag">Torsdag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="torsdag" id="torsdag" value="{{ $menuplan->thursday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="fredag">Fredag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="fredag" id="fredag" value="{{ $menuplan->friday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="lørdag">Lørdag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="lørdag" id="lørdag" value="{{ $menuplan->saturday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
<label for="søndag">Søndag:</label>
|
2020-06-29 06:31:36 +00:00
|
|
|
<input type="text" name="søndag" id="søndag" value="{{ $menuplan->sunday }}" required>
|
2020-06-25 06:12:53 +00:00
|
|
|
|
|
|
|
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
|
|
|
</form>
|
|
|
|
@endsection
|