@extends('apex-layouts.main') @section('content')

{{ ($model->exists)?'Edit Role':'New Role' }}

@if ($model->exists) @method('PUT') @endif @csrf

Role Info

@if ($errors->has('roleName')) {{ $errors->first('roleName') }} @endif

Permissions Assignment

@foreach(config('permissions') as $key => $permission) @endforeach
# Permission Name
{{$key}} {{$permission}}
Back
@endsection @section('scripts') @stop @section('styles') @stop