37 lines
1.4 KiB
PHP
37 lines
1.4 KiB
PHP
@extends('layouts.admin_layout')
|
|
@section('content')
|
|
<div class="container">
|
|
<h2>Статусы</h2>
|
|
<br>
|
|
<a href="{{ route('feedback_statuses.create') }}" class="btn btn-primary">Создать Статус</a>
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($feedbackStatuses as $status)
|
|
<tr class="">
|
|
<td>{{ $status->name }}</a></td>
|
|
<td><a href="{{ route("feedback_statuses.edit", $status) }}"
|
|
class="btn btn-secondary">редактировать</a>
|
|
<a rel="nofollow" data-method="delete" data-confirm="Вы действительно хотите удалить?"
|
|
href="{{ route('feedback_statuses.destroy', $status) }}"
|
|
class="btn btn-danger">
|
|
удалить
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
</div>
|
|
|
|
@endsection
|