<div class="checkboxes-container">
	@foreach($options as $option)
        <div class="checkbox">
            <label>
                <input{{ in_array($option['value'], explode(",", $value))  ? " checked" : "" }} type="checkbox" id="{{ $name }}" name="{{ $name }}" value="{{ $option['value'] }}" class="styled">
                {{ htmlspecialchars($option['text']) }}
            </label>
        </div>
	@endforeach
</div>