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

Add New Role

Complete the form below to Add New User Role.

@csrf

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