@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content') {{!empty($role) ?trans('/admin/main.edit'): trans('admin/main.new') }} {{ trans('admin/main.role') }} {{ trans('admin/main.dashboard') }} {{ trans('admin/main.roles') }} {{!empty($role) ?trans('/admin/main.edit'): trans('admin/main.new') }} @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if(empty($role)) {{ trans('admin/main.name') }} @endif @error('name') {{ $message }} @enderror {{ trans('admin/main.caption') }} @error('caption') {{ $message }} @enderror @if(empty($role) or !$role->isDefaultRole()) is_admin) ? 'checked' : '' }}> {{ trans('admin/main.is_admin') }} {{ trans('admin/main.new_role_admin_access_hint') }} @endif {{ trans('admin/main.permission') }} {{ trans('admin/main.permission_description') }} @foreach($sections as $section) id]) ? 'checked' : ''}} class="form-check-input mt-0 section-parent"> {{ $section->caption }} @if(!empty($section->children)) @foreach($section->children as $key => $child) id]) ? 'checked' : '' }} class="form-check-input section-child"> {{ $child->caption }} @endforeach @endif @endforeach {{ trans('admin/main.submit') }} @endsection @push('scripts_bottom') @endpush
{{ trans('admin/main.permission_description') }}