<select name="%%itemName%%" class="form-control" id="%%itemName%%" %%required%%>
    @foreach (array(%%options%%) as $optionKey => $optionValue)
        <option value="{{ $optionKey }}" {{ (isset($%%crudNameSingular%%->%%itemName%%) && $%%crudNameSingular%%->%%itemName%% == $optionKey) ? 'selected' : ''}}>{{ $optionValue }}</option>
    @endforeach
</select>