User edit form assign section control
This commit is contained in:
parent
77338eaabd
commit
be044e34fb
@ -38,6 +38,7 @@
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
|
||||
@if (user()->can('read-common-companies') || user()->hasRole(['admin', 'manager']))
|
||||
<x-form.section>
|
||||
<x-slot name="head">
|
||||
<x-form.section.head title="{{ trans('general.assign') }}" description="{!! trans('auth.form_description.assign', ['url' => $roles_url]) !!}" />
|
||||
@ -53,6 +54,7 @@
|
||||
@endrole
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
@endif
|
||||
|
||||
<x-form.section>
|
||||
<x-slot name="head">
|
||||
|
Loading…
x
Reference in New Issue
Block a user