When viewing the schema, highlight Structural and non-Structural classes
Some checks failed
Create Docker Image / Test Application (x86_64) (push) Has been cancelled
Create Docker Image / Build Docker Image (arm64) (push) Has been cancelled
Create Docker Image / Build Docker Image (x86_64) (push) Has been cancelled
Create Docker Image / Final Docker Image Manifest (push) Has been cancelled

This commit is contained in:
Deon George 2025-04-10 16:09:53 +10:00
parent f0eaff7d42
commit 8b0af505a1

View File

@ -2,9 +2,12 @@
<div class="col-12 col-xl-3"> <div class="col-12 col-xl-3">
<select id="objectclass" class="form-control"> <select id="objectclass" class="form-control">
<option value="-all-">-all-</option> <option value="-all-">-all-</option>
@foreach ($objectclasses as $o) @foreach($objectclasses->groupBy(fn($item)=>$item->isStructural()) as $oo)
<optgroup label="{{ __($oo->first()->isStructural() ? 'Structural' : 'Auxillary') }} Object Class"></optgroup>
@foreach($oo as $o)
<option value="{{ $o->name_lc }}">{{ $o->name }}</option> <option value="{{ $o->name_lc }}">{{ $o->name }}</option>
@endforeach @endforeach
@endforeach
</select> </select>
</div> </div>