aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/group_selection.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/group_selection.tpl')
-rw-r--r--view/tpl/group_selection.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/group_selection.tpl b/view/tpl/group_selection.tpl
new file mode 100644
index 000000000..3809cb994
--- /dev/null
+++ b/view/tpl/group_selection.tpl
@@ -0,0 +1,8 @@
+<div class="field custom">
+<label for="group-selection" id="group-selection-lbl">$label</label>
+<select name="group-selection" id="group-selection" >
+{{ for $groups as $group }}
+<option value="$group.id" {{ if $group.selected }}selected="selected"{{ endif }} >$group.name</option>
+{{ endfor }}
+</select>
+</div>