User edit form assign section control

This commit is contained in:
Cüneyt Şentürk 2022-11-01 15:57:23 +03:00
parent 77338eaabd
commit be044e34fb

View File

@ -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">