Ekapp/skolehjem/resources/views/admin/menuplans/edit.blade.php

35 lines
1.5 KiB
PHP
Raw Normal View History

@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> /
@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")
<label for="mandag">Mandag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="monday" id="mandag" value="{{ $menuplan->monday }}" required>
<label for="tirsdag">Tirsdag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="tuesday" id="tirsdag" value="{{ $menuplan->tuesday }}" required>
<label for="onsdag">Onsdag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="wednesday" id="onsdag" value="{{ $menuplan->wednesday }}" required>
<label for="torsdag">Torsdag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="thursday" id="torsdag" value="{{ $menuplan->thursday }}" required>
<label for="fredag">Fredag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="friday" id="fredag" value="{{ $menuplan->friday }}" required>
<label for="lørdag">Lørdag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="saturday" id="lørdag" value="{{ $menuplan->saturday }}" required>
<label for="søndag">Søndag:</label>
2020-06-29 06:43:35 +00:00
<input type="text" name="sunday" id="søndag" value="{{ $menuplan->sunday }}" required>
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
</form>
@endsection