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)
|
2022-05-09 07:39:03 +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>
|