diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-03-24 11:30:01 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-03-24 11:30:01 -0400 |
commit | 416a8df32250db49244a273c331269b549425222 (patch) | |
tree | e5dc5c2c861027aaccae415f4c9aa5bea896bcc3 /t/data/array_parameter/templates/index.tt | |
parent | 1f06a7f7efbef91939335b070c279ede002af32f (diff) | |
parent | bb3ff3e1f924d530b3bfdf192849b5ac1b9aa5b2 (diff) | |
download | ox-view-tt-416a8df32250db49244a273c331269b549425222.tar.gz ox-view-tt-416a8df32250db49244a273c331269b549425222.zip |
Merge pull request #1 from mascip/mascip
Users can now send additional parameters to the template
Diffstat (limited to 't/data/array_parameter/templates/index.tt')
-rw-r--r-- | t/data/array_parameter/templates/index.tt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/data/array_parameter/templates/index.tt b/t/data/array_parameter/templates/index.tt new file mode 100644 index 0000000..5454d04 --- /dev/null +++ b/t/data/array_parameter/templates/index.tt @@ -0,0 +1,8 @@ +<b>[% content %]</b> +<p>[% some_scalar %]</p> +[% FOREACH elem IN some_array %] +<span>[% elem %]</span> +[% END %] +[% FOREACH elem IN other_array %] +<span>[% elem %]</span> +[% END %] |