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

View User Role

Complete the form below to View User Role.

Role Information

@foreach($allpermissions->all() as $value) @if($category != $value->category) @endif @if($element != $value->element) @foreach($allpermissions->where('element', $element)->all() as $value2) @endforeach @endif @endforeach
{{ $value->category }}
{{ $value->element }}
LIST CREATE EDIT DELETE IMPORT
{{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name', 'disabled')) }}
@include('partials.footer')
@endsection