@extends('layouts.plusadmin') @section('content') @parent
@csrf

Add New User Role

Complete the Details below

List of Permissions

@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 }} CHECK ALL LIST CREATE EDIT DELETE IMPORT
{{ $value->element }} {{ Form::checkbox('permission[]', $value2->id, false, array('class' => $value2->id)) }}



@endsection