@if (isset($list) && count($list))
	@foreach($list as $key => $optgroup)
		<optgroup label="{{ $optgroup['label'] }}">
			@include('components.form.options', ['list' => $optgroup['options']])
		</optgroup>
	@endforeach
@endif
