15 lines
550 B
PHP
15 lines
550 B
PHP
<!-- $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))))
|
|
<x-attribute.widget.objectclass :o="$o" :edit="$edit" :new="$new" :loop="$loop" :value="$value"/>
|
|
@else
|
|
{{ $value }}
|
|
@if ($o->isStructural($value))
|
|
<input type="hidden" name="{{ $o->name_lc }}[]" value="{{ $value }}">
|
|
<span class="float-end">@lang('structural')</span>
|
|
@endif
|
|
<br>
|
|
@endif
|
|
@endforeach
|
|
</x-attribute.layout> |