File: D:/HostingSpaces/fire-tech/fire-tech.nl/resources/views/kms/attributes/select.blade.php
<div class="entity-attribute entity-attribute-select {{$attribute->getStyleClass()}}">
{!! Form::label($attribute->getKey(), $attribute->getLabelText()) !!}
@if($attribute->getReadOnly())
<div class="input-read-only">
@foreach($attribute->getItems() as $selectOptionModel)
@if($attribute->getValue() == $selectOptionModel->getValue())
{{$selectOptionModel->getHtmlContent()}}
@endif
@endforeach
</div>
{!! Form::hidden($attribute->getKey(), $attribute->getValue()) !!}
@else
<div class="select-wrapper">
<select class="select-menu" name="{{$attribute->getKey()}}" id="{{$attribute->getKey()}}">
@foreach($attribute->getItems() as $selectOptionModel)
@if($selectOptionModel->getValue() != $currentId || $attribute->getExcludeCurrentModelItem() == false)
<option @if($attribute->getValue() == $selectOptionModel->getValue()) selected @endif
value="{{$selectOptionModel->getValue()}}">
{{$selectOptionModel->getHtmlContent()}}
</option>
@endif
@endforeach
</select>
</div>
@endif
</div>