diff options
Diffstat (limited to 'web/widget/combobox.html')
-rw-r--r-- | web/widget/combobox.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/widget/combobox.html b/web/widget/combobox.html new file mode 100644 index 0000000..1d48938 --- /dev/null +++ b/web/widget/combobox.html @@ -0,0 +1,18 @@ +<!-- + Copyright (c) 2012-2015 Kaarle Ritvanen + See LICENSE file for license details +--> + +<label for="{{ name }}" class="control-label" ng-if="field.label"> + {{ field.label }} +</label> +<div ng-if="!field.editable"> + <div ng-repeat="choice in field.meta.choice" ng-if="choice.value == value"> + {{ choice["ui-value"] }} + </div> + <aconf-del-button></aconf-del-button> +</div> +<div ng-if="field.editable"> + <aconf-error></aconf-error> + <aconf-input><aconf-select></aconf-select></aconf-input> +</div> |