From 82106632f00dd8dc08ed4d845a4b74be53d5f563 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 28 Mar 2012 10:43:52 +0200 Subject: [PATCH] template: field_combobox a text input plus a select wich updates text input value on change. html5 version commented out for poor browsers support. --- view/field_combobox.tpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 view/field_combobox.tpl diff --git a/view/field_combobox.tpl b/view/field_combobox.tpl new file mode 100644 index 0000000000..6581330714 --- /dev/null +++ b/view/field_combobox.tpl @@ -0,0 +1,18 @@ + +
+ + {# html5 don't work on Chrome, Safari and IE9 + + + {{ for $field.4 as $opt=>$val }} #} + + + + + $field.3 +
+