diff options
author | zottel <github@zottel.net> | 2012-03-29 10:23:45 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-29 10:23:45 +0200 |
commit | 953840cf822718cba66a0727b576c674c6e44875 (patch) | |
tree | a924cf0031d16f6f15b7d84d5f519ca4257042b4 /view/field_combobox.tpl | |
parent | fb817a29a934a68f194a42c29d3ed11da2da558f (diff) | |
parent | 3ee529d095ac7e83ae1e71d86cbe6d443885d54e (diff) | |
download | volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.tar.gz volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.tar.bz2 volse-hubzilla-953840cf822718cba66a0727b576c674c6e44875.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/field_combobox.tpl')
-rw-r--r-- | view/field_combobox.tpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/view/field_combobox.tpl b/view/field_combobox.tpl new file mode 100644 index 000000000..658133071 --- /dev/null +++ b/view/field_combobox.tpl @@ -0,0 +1,18 @@ + + <div class='field combobox'> + <label for='id_$field.0'>$field.1</label> + {# html5 don't work on Chrome, Safari and IE9 + <input id="id_$field.0" type="text" list="data_$field.0" > + <datalist id="data_$field.0" > + {{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }} + </datalist> #} + + <input id="id_$field.0" type="text" value="$field.2"> + <select id="select_$field.0" onChange="$('#id_$field.0').val($(this).val())"> + <option value="">$field.5</option> + {{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }} + </select> + + <span class='field_help'>$field.3</span> + </div> + |