@extends('layouts.nifty') @section('content') User Management List of Roles Edit User Role Edit User Role Complete the form below to Edit User Role. @csrf @method('PUT') Role Information Role @foreach($allpermissions->all() as $value) @if($category != $value->category) {{ $value->category }} @endif @if($element != $value->element) {{ $value->description }} CHECK ALL LIST CREATE EDIT DELETE IMPORT @foreach($allpermissions->where('element', $element)->all() as $value2) {{ Form::checkbox('permission[]', $value2->id, in_array($value2->id, $rolePermissions) ? true : false, array('class' => 'name')) }} @endforeach @endif @endforeach @include('partials.footer') @endsection
Complete the form below to Edit User Role.