@extends('super_admins.layouts.master') @section('title') Add Role @endsection @section('content') @if ($errors->any()) @endif Add Role Home Roles Add Role Add Role @csrf Role Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif @if(isset($tenants)) Select Tenant : @if(count($tenants) > 0) Please Select @foreach($tenants as $tenant) {{$tenant->name}} @endforeach @else No Tenant Exists @endif @if ($errors->has('tenant_id')) {{ $errors->first('tenant_id') }} @endif @endif Permissions Select All @foreach($permissions->chunk(3) as $chunk) @foreach($chunk as $permission) {{ $permission->name }} @endforeach @endforeach Status Select Role To Be Active Or Not Submit @endsection @section('scripts') @endsection