aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/group_selection.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/group_selection.tpl')
-rwxr-xr-xview/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 100755
index 000000000..270d2aa79
--- /dev/null
+++ b/view/tpl/group_selection.tpl
@@ -0,0 +1,8 @@
+<div class="form-group field custom">
+<label for="group-selection" id="group-selection-lbl">{{$label}}</label>
+<select class="form-control" name="group-selection" id="group-selection" >
+{{foreach $groups as $group}}
+<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option>
+{{/foreach}}
+</select>
+</div>