]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/field_select.tpl
Merge pull request #4836 from Angristan/patch-1
[friendica.git] / view / theme / frio / templates / field_select.tpl
1
2 <div class="form-group field select">
3                 <label for="id_{{$field.0}}">{{$field.1}}</label>
4                 <select name="{{$field.0}}" id="id_{{$field.0}}" class="form-control" aria-describedby="{{$field.0}}_tip">
5                         {{foreach $field.4 as $opt=>$val}}<option value="{{$opt|escape:'html'}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
6                 </select>
7                 {{if $field.3}}
8                 <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3}}</span>
9                 {{/if}}
10 </div>