@if(isset($divisions) && !is_null($divisions))
    @foreach($divisions as $division)
        <div class="checkbox rtl checkbox-icon-yellow">
            <input id="checkbox_{{ $division->id }}" name="divisionCheckbox" type="checkbox" value="{{ $division->id }}" {{ (!is_null($divisionArr) && in_array($division->id, $divisionArr)) ? 'checked' : ''}} >
            <label for="checkbox_{{ $division->id }}">{{ $division->title }}</label>
        </div>
    @endforeach
@endif
