summaryrefslogtreecommitdiffstats
path: root/web/directive/select.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/directive/select.html')
-rw-r--r--web/directive/select.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/directive/select.html b/web/directive/select.html
new file mode 100644
index 0000000..4557e8f
--- /dev/null
+++ b/web/directive/select.html
@@ -0,0 +1,10 @@
+<!--
+ Copyright (c) 2012-2015 Kaarle Ritvanen
+ See LICENSE file for license details
+-->
+
+<select class="form-control aconf-sync"
+ name="{{ name }}"
+ ng-model="value"
+ ng-options="ch.value as ch['ui-value'] for ch in choices">
+</select>