<div class="form-group clearfix pt-2">
	@foreach ($list as $key => $item)
		<div class="{{ $item['class'] ?? '' }} d-inline">
			<input type="radio" id="{{ $name }}{{ $key }}" name="{{ $name }}" value="{{ $key }}" @if (isset($value) && ($key == $value)) checked @endif>
			@if ($with_label ?? true)
				<label for="{{ $name }}{{ $key}}" class="pr-2">{{ $item['txt'] ?? $item }}</label>
			@else
				<label for="{{ $name }}{{ $key}}"></label>
			@endif
		</div>
	@endforeach
</div>
