@extends('layouts.master') @section('title')Create Role @endsection @section('content') {{-- breadcrumbs --}} @section('breadcrumb') @component('components.breadcrumb') @slot('li_1') Role @endslot @slot('title') Role Create @endslot @endcomponent @endsection @if ($message = Session::get('success'))

{{ $message }}

@endif
{{-- @can('role-create') --}} Create New Role {{-- @endcan --}}
@foreach ($roles as $key => $role) @endforeach
No Name Action
{{ ++$i }} {{ $role->name }} Show @can('role-edit') Edit @endcan @can('role-delete') {{-- {!! Form::open(['method' => 'DELETE','route' => ['roles.destroy', $role->id],'style'=>'display:inline']) !!} --}} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endcan
{!! $roles->render() !!} @endsection @section('script') @endsection