<div ng-controller="Umbraco.PropertyEditors.ColorPickerController">


    <div ng-if="!isConfigured">
        <localize key="colorpicker_noColors">You haven't defined any colors</localize>
    </div>

    <umb-color-swatches 
        colors="model.config.items"
        selected-color="model.value"
        size="m"
        use-label="model.useLabel">
    </umb-color-swatches>

    <input type="hidden" name="modelValue" ng-model="model.value" val-property-validator="validateMandatory" />

</div>
