Added Feedback index page + added routing in base.blade.php + Fixed routing in FeedbackController.php

This commit is contained in:
Anders
2020-06-29 12:56:08 +02:00
parent 91a34f3d08
commit f7786be665
4 changed files with 41 additions and 8 deletions
@@ -0,0 +1,27 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Feedback - Vis
@endsection
@section("path")
<a href="{{ route('feedbacks.index') }}" class="text-white">Vis Feedback</a> /
@endsection
@section("content")
<table class="tbl">
<tr>
<th>Feedback Besked</th>
<th>Ris el. Ros</th>
</tr>
@foreach($feedback as $fb)
<tr>
<td>{{ $fb->message }}</td>
<td>{{ $fb->suggestion_form }}</td>
</tr>
@endforeach
</table>
{{ $feedback->links() }}
@endsection