applicant-site/resources/views/admin/feedback/index.blade.php

36 lines
1.2 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('layouts.admin_layout')
@section('content')
<div class="container">
<h2>Обр. связь</h2>
<br>
<br>
<table class="table">
<thead class="border-b-2 border-solid border-black text-left" style="text-align: left">
<tr>
<th scope="col">Контакт</th>
<th scope="col">Текст</th>
<th scope="col">Статус</th>
<th scope="col">Создано</th>
<th scope="col">Действия</th>
</tr>
</thead>
<tbody>
@foreach($feedbacks as $feedback)
<tr class="">
<td>{{ $feedback->contact }}</a></td>
<td>{{ $feedback->text }}</a></td>
<td>{{ $feedback->status->name }}</a></td>
<td>{{ $feedback->created_at }}</a></td>
<td><a href="{{ route("feedback.edit", $feedback) }}"
class="btn btn-secondary">редактировать</a>
</td>
</tr>
@endforeach
</tbody>
</table>
<br>
<br>
</div>
@endsection