@extends('apex-layouts.main') @section('content') {{ ($model->exists)?'Edit Role':'New Role' }} @if ($model->exists) @method('PUT') @endif @csrf Role Info Role Name @if ($errors->has('roleName')) {{ $errors->first('roleName') }} @endif Permissions Assignment # Permission Name @foreach(config('permissions') as $key => $permission) {{$key}} {{$permission}} @endforeach Back Save @endsection @section('scripts') @stop @section('styles') @stop