2022-03-05 16:29:58 +01:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-prepend"><span class="input-group-text">{{ $title ??'Provider'}}</span></div>
|
|
|
|
<select class="form-control" name="{{$name ?? 'provider_id'}}">
|
|
|
|
@foreach ($providers as $provider)
|
2023-09-09 16:13:13 +02:00
|
|
|
<option value="{{ $provider['id'] }}" {{(isset($current) && (string)$current === (string)$provider['id'])? 'selected' : ''}}>
|
|
|
|
{{ $provider['name'] }}
|
2022-03-05 16:29:58 +01:00
|
|
|
</option>
|
|
|
|
@endforeach
|
|
|
|
</select>
|
|
|
|
</div>
|