Fix menu plan index
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Menuplan</a> /
|
||||
<a href="{{ route('menuplans.create') }}" class="text-white">Opret Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||
</tr>
|
||||
@foreach($menuplans as $menuplan)
|
||||
@foreach($menuPlans as $menuplan)
|
||||
<tr>
|
||||
<th>{ID}</th>
|
||||
<th>{Mandag}</th>
|
||||
@@ -39,5 +39,5 @@
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
{{ $menuplans->links() }}
|
||||
{{ $menuPlans->links() }}
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user