aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/instant_select.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/instant_select.tpl')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/instant_select.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/instant_select.tpl b/ratatoeskr/templates/src/systemtemplates/instant_select.tpl
new file mode 100644
index 0000000..01c5017
--- /dev/null
+++ b/ratatoeskr/templates/src/systemtemplates/instant_select.tpl
@@ -0,0 +1,5 @@
+<ste:mktag name="instant_select" mandatory="name|array"><select name="$_tag_parameters[name]">
+ <ste:foreach array="$_tag_parameters[array]" value="instant_select_v">
+ <option value="$instant_select_v"?{~{$_tag_parameters[selected]|eq|$instant_select_v}| selected="selected"|}>$instant_select_v</option>
+ </ste:foreach>
+</select></ste:mktag>