Version 0.7.0 #1

Merged
kor-elf merged 90 commits from develop into main 2023-12-08 21:18:23 +06:00
Showing only changes of commit 941699f473 - Show all commits

View File

@ -27,23 +27,23 @@
<td>{{ $role->code }}</td> <td>{{ $role->code }}</td>
<td> <td>
@if($role->is_remove) @if($role->is_remove)
<form method="post" action="{{ route('roles.destroy', $role) }}"> @can('delete', $role)
@csrf <form method="post" action="{{ route('roles.destroy', $role) }}">
@method('DELETE') @csrf
<button type="submit" class="btn btn-danger click-confirm"> @method('DELETE')
{{ __('Delete') }} <button type="submit" class="btn btn-danger click-confirm">
</button> {{ __('Delete') }}
</form> </button>
</form>
@endcan
@endif @endif
</td> </td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
<div class="card-footer border-0 d-flex flex-column flex-lg-row align-items-center justify-content-between"> <div class="card-footer border-0">
<nav aria-label="Пример навигации по странице"> {{ $roles->links() }}
{{ $roles->links() }}
</nav>
</div> </div>
</div> </div>
</div> </div>