]> git.mxchange.org Git - friendica.git/blob - view/smarty3/field_select.tpl
Implement Smarty3
[friendica.git] / view / smarty3 / field_select.tpl
1         
2         <div class='field select'>
3                 <label for='id_{{$field.0}}'>{{$field.1}}</label>
4                 <select name='{{$field.0}}' id='id_{{$field.0}}'>
5                         {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
6                 </select>
7                 <span class='field_help'>{{$field.3}}</span>
8         </div>