forked from aslan/applicant-site
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
|
@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
|