summaryrefslogtreecommitdiffstats
path: root/web/widget/combobox.html
blob: 1d48938ed6b7a90bf7241a48ae0ea9ce328ec533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>