<form class="row g-3 auto-width" action="{{ route('permissions.update', $permission->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-12">
        <label for="name" class="form-label">Permission <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control permission_name" value="{!! formatPermissionsText($permission->name) !!}">
        <span class="text-danger error_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="name" class="form-label">Slug </label>
        <input type="text" class="form-control permission" name="name" readonly value="{!! $permission->name !!}">
        <input type="hidden" name="module_id">
    </div>
</form>