toastr added
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<x-app-layout>
|
||||
@extends('layouts.app')
|
||||
@section('content')
|
||||
<section class="section">
|
||||
<div class="section-header">
|
||||
<h1>List Roles</h1>
|
||||
@ -32,8 +33,8 @@
|
||||
@endforeach
|
||||
<td>
|
||||
@can('edit roles')
|
||||
<a href="{{ route('roles.edit', $role->id) }}"
|
||||
class="btn btn-primary btn-sm rounded-lg text-white"><i class="fas fa-edit"></i></a>
|
||||
<a href="{{ route('roles.edit', $role->id) }}" class="btn btn-primary btn-sm rounded-lg text-white"><i
|
||||
class="fas fa-edit"></i></a>
|
||||
@endcan
|
||||
@can('delete roles')
|
||||
<form method="post" action="{{ route('roles.destroy', $role->id) }}">
|
||||
@ -55,4 +56,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</x-app-layout>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user