Improve rendering of objectclasses in entries

This commit is contained in:
2025-03-03 16:37:48 +11:00
parent 9b3ef7a3ba
commit a59bbc8790
5 changed files with 26 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
<!-- $o=Attribute::class -->
<x-attribute.layout :edit="$edit" :new="$new" :o="$o">
@foreach (old($o->name_lc,$o->values) as $value)
@if ($edit && ($value === NULL || (! $o->isStructural($value))))
@if ($edit)
<x-attribute.widget.objectclass :o="$o" :edit="$edit" :new="$new" :loop="$loop" :value="$value"/>
@else
{{ $value }}