Sha256: 0df4e393999078c3fa4c17be35e1ccdc33480a4e1215329ff093ab9ab5901bf8
Contents?: true
Size: 1.37 KB
Versions: 8
Compression:
Stored size: 1.37 KB
Contents
# test_file: ../../../../../test/integration/zafu_compiler_test.rb default: context: node: 'status' visitor: 'anon' src: "<r:tags do='each' join=',' do='name'/>" tem: "/var1 = @node.tags.*var2.name/" res: "blue,sky" listing_no_tags: context: node: 'lion' src: "<r:tags>Nothing</r:tags>" tem: "/if var1 = @node.tags/" res: "" listing_with_link: src: "<r:tags do='each' join=',' do='link' href='main' cat='name'/>" res: "<a href='/en/projects-list/Clean-Water-project/page22.html?cat=blue'>blue</a>,<a href='/en/projects-list/Clean-Water-project/page22.html?cat=sky'>sky</a>" tagged_query: context: cat: 'blue' src: "<r:context select='nodes where tag = #{params[:cat]} in site' do='each' join=', ' do='title'/>" res: "bird, status title" images_tagged_blue: src: "<r:images where='tag=\"blue\"' in='site' do='each' join=', ' do='title'/>" res: "bird" tagged_keys_rubyless: context: node: 'status' src: "<r:tagged do='keys'><r:each join=', ' do='show'/></r:tagged>" res: "/blue, sky|sky, blue/" tag_names: context: node: 'status' src: "<r:tag_names><r:each join=', ' do='show'/></r:tag_names>" res: "blue, sky" checkbox_tagged: src: "<r:input type='checkbox' name='tagged[blue]'/>" res: "<input type='hidden' name='node[tagged][blue]' value=''/><input type='checkbox' name='node[tagged][blue]' value='blue' checked='checked'/>"
Version data entries
8 entries across 8 versions & 1 rubygems