friendica/view/templates/group_selection.tpl

9 lines
318 B
Smarty

<div class="field custom">
<label for="group-selection" id="group-selection-lbl">{{$label}}</label>
<select 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>