@extends('layouts.master') @section('style') @stop @section('content')
@include('partials.message')
{{ trans('ui.role.names') }}
@if(Auth::user()->can('create-roles')) @endif @if(Auth::user()->can(['update-roles', 'delete-roles'])) @endif @foreach($roles as $role) @if(Auth::user()->can(['update-roles', 'delete-roles'])) @endif @endforeach
{{ trans('ui.role.name_label') }} {{ trans('ui.role.display') }} {{ trans('ui.role.description') }} {{ trans('ui.permission.names') }}{{ trans('ui.role.operation_label') }}
{{ $role->name }} {{ $role->display_name }} {{ $role->description }}
    @foreach($role->permissions as $permission)
  • {{ $permission->display_name }}
  • @endforeach
@if(Auth::user()->can('update-roles')) @endif @if(Auth::user()->can('delete-roles')) {!! Form::open(['url' => 'auth/role/'. $role->id, 'method' => 'delete','style'=>'display:inline-block;']) !!} {!! Form::close() !!} @endif
@stop @section('script') @stop