@extends('layouts.default') @section('title', '| Roles') @section('content')
Name | Description | Operations |
---|---|---|
{{ $role->name }} | {{ $role->description }} | @if(in_array('EditRole',$allperms)) Edit @endif @if(in_array('DeleteRole',$allperms)) {!! Form::open(['method' => 'DELETE', 'route' => ['roles.destroy', $role->id] ]) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @endif |