Ekapp/skolehjem/resources/views/admin/feedbacks/index.blade.php

31 lines
829 B
PHP

@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")
<div class="row align-items-center">
<a class="btn btn-inline btn-sde-blue mb-0" href="{{ route('feedbacks.create') }}"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Feedback</a>
</div>
<table class="tbl mt-2">
<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