]> git.mxchange.org Git - friendica.git/blob - view/theme/frost/field_combobox.tpl
Text box alignment in Smoothly theme
[friendica.git] / view / theme / frost / field_combobox.tpl
1         
2         <div class='field combobox'>
3                 <label for='id_$field.0' id='id_$field.0_label'>$field.1</label>
4                 {# html5 don't work on Chrome, Safari and IE9
5                 <input id="id_$field.0" type="text" list="data_$field.0" >
6                 <datalist id="data_$field.0" >
7                    {{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }}
8                 </datalist> #}
9                 
10                 <input id="id_$field.0" type="text" value="$field.2">
11                 <select id="select_$field.0" onChange="$j('#id_$field.0').val($j(this).val())">
12                         <option value="">$field.5</option>
13                         {{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }}
14                 </select>
15                 
16                 <span class='field_help'>$field.3</span>
17         </div>
18