@extends('layouts/contentLayoutMaster') @if(isset($role)) @section('title', __('locale.role.update_role')) @else @section('title', __('locale.role.create_role')) @endif @section('content')

@if(isset($role)) {{ __('locale.role.update_role') }} @else {{ __('locale.role.create_role') }} @endif

@if(isset($role)) {{ method_field('PUT') }} @endif @csrf
@error('name')

{{ $message }}

@enderror
@foreach($permissions as $category)
{{ __('locale.menu.'.$category['title']) }}
@foreach($category['permissions'] as $permission)
@endforeach
@endforeach
@endsection @section('page-script') @endsection