friendica_2021.01_tupambae_.../view/templates/group_selection.tpl

10 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>