@extends('layouts.app') @section('content')

Roles Management

@if(Session::has('flash_message'))

{{ Session::get('flash_message') }}

@endif
Role Records
@permission('role-create') Create New Role @endpermission
@foreach ($roles as $key => $role) @endforeach
No Name Description Action
{{ ++$i }} {{ $role->display_name }} {{ $role->description }} Show @permission('role-edit') Edit @endpermission @permission('role-delete') {!! Form::open(['method' => 'DELETE','route' => ['roles.destroy', $role->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn red btn-xs']) !!} {!! Form::close() !!} @endpermission
@endsection