2022-03-05 16:29:58 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">{{ $title ??'OS'}}</span></div>
|
|
|
|
<select class="form-control" name="{{$name ?? 'os_id'}}">
|
|
|
|
@foreach ($os as $o)
|
2022-05-09 06:57:38 +02:00
|
|
|
<option value="{{ $o->id }}" {{(isset($current) && (string)$current === (string)$o->id)? 'selected' : ''}}>
|
|
|
|
{{ $o->name }}
|
2022-03-05 16:29:58 +01:00
|
|
|
</option>
|
|
|
|
@endforeach
|
|
|
|
</select>
|
|
|
|
</div>
|