v0.10.5b - Added Date to feedbacks.index

This commit is contained in:
Anders 2020-08-18 13:01:39 +02:00
parent ddbc3b8b60
commit 19b1176718
1 changed files with 3 additions and 1 deletions

View File

@ -25,12 +25,14 @@
<table class="tbl">
<tr>
<th style="width: 6em;">Dato</th>
<th>Feedback Besked</th>
<th>Ris el. Ros</th>
<th style="width: 5em;">Ris el. Ros</th>
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
</tr>
@foreach($feedback as $fb)
<tr>
<td>{{ date('d-m-Y', strtotime($fb->created_at)) }}</td>
<td>{{ $fb->message }}</td>
<td>{{ $fb->suggestion_form }}</td>
<td><form method="post" action="{{ route("feedbacks.destroy", [ "feedback" => $fb ]) }}" class="w-100 nostyle">