"v for v in $vm.fields[cf.name].options">
                        <option value=""></option>
                    </select>
                </div>
                <div class="col-sm-6" ng-if="$vm.fields[cf.name].options.length === 0" ng-switch="$vm.fields[cf.name].type">
                    <input ng-switch-when="string" type="text" class="form-control" ng-model="cf.value">
                    <input ng-switch-when="integer" type="number" class="form-control" ng-model="cf.value">
                    <input n