@extends('layouts.public_layout') @section('title', $title) @section('content')

{{ $title }}


@if (strlen($msg) > 0) @endif
@csrf
@error('role_name') {{ $errors->first('role_name') }} @enderror
Rights
@foreach($rights as $right) @endforeach @foreach($sections as $section) @foreach($rights as $right) @endforeach @endforeach
Section
{{ $section->sitesection_name }}
hasRights($section->sitesection_id, $right->right_id) ? 'checked="checked"' : '') }}>

@endsection