aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/group_selection.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
committerfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
commitcdcbe9772423d5373f6d0d4aa33700446a989340 (patch)
tree2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/group_selection.tpl
parent51c27579ba79d32c26052c0d1f1218a16315234b (diff)
parent5e1980becf69a4c65489bed6f94fa730ec8ef4bf (diff)
downloadvolse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.gz
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.bz2
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.zip
Merge pull request #50 from fabrixxm/newtemplatesystem
New template system
Diffstat (limited to 'view/tpl/group_selection.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/group_selection.tpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/view/tpl/group_selection.tpl b/view/tpl/group_selection.tpl
index 3809cb994..f16bb5159 100644..100755
--- a/view/tpl/group_selection.tpl
+++ b/view/tpl/group_selection.tpl
@@ -1,8 +1,13 @@
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
<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>