diff options
Diffstat (limited to 'view/tpl/group_selection.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/group_selection.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/group_selection.tpl b/view/tpl/group_selection.tpl index 3809cb994..2223125ea 100644..100755 --- a/view/tpl/group_selection.tpl +++ b/view/tpl/group_selection.tpl @@ -1,8 +1,8 @@ <div class="field custom"> -<label for="group-selection" id="group-selection-lbl">$label</label> +<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 }} +{{foreach $groups as $group}} +<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option> +{{/foreach}} </select> </div> |