Edited menuplan - Can now be seen by users

This commit is contained in:
Anders
2020-06-30 12:38:02 +02:00
parent 1cf39cbbd2
commit 394b8551c8
7 changed files with 44 additions and 23 deletions
@@ -14,6 +14,8 @@
<form method="post" action="{{ route("menu-plans.update", [ "menu_plan" => $menuplan ]) }}">
@csrf
@method("PUT")
<label for="mandag">Uge:</label>
<input type="number" name="week" id="week" min="1" max="53" value="{{ $menuplan->week }}" required>
<label for="mandag">Mandag:</label>
<input type="text" name="monday" id="mandag" value="{{ $menuplan->monday }}" required>
<label for="tirsdag">Tirsdag:</label>
@@ -23,6 +25,6 @@
<label for="torsdag">Torsdag:</label>
<input type="text" name="thursday" id="torsdag" value="{{ $menuplan->thursday }}" required>
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
<input type="submit" class="btn btn-dark text-white" value="Rediger Menuplan">
</form>
@endsection