]> git.mxchange.org Git - friendica.git/blob - view/smarty3/field_select.tpl
2a4117a70c34d8760684b535aa5dad0744fc37d9
[friendica.git] / view / smarty3 / field_select.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6         
7         <div class='field select'>
8                 <label for='id_{{$field.0}}'>{{$field.1}}</label>
9                 <select name='{{$field.0}}' id='id_{{$field.0}}'>
10                         {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
11                 </select>
12                 <span class='field_help'>{{$field.3}}</span>
13         </div>