@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 {{ __('locale.labels.name') }} @error('name') {{ $message }} @enderror {{ __('locale.labels.select_all') }} @foreach($permissions as $category) {{ __('locale.menu.'.$category['title']) }} @foreach($category['permissions'] as $permission) {{ __('locale.permission.'.$permission['display_name']) }} @endforeach @endforeach {{__('locale.buttons.save')}} @endsection @section('page-script') @endsection
{{ $message }}