Sha256: 18c2afdd74200e21d02553883a8bddf620c44a955644f6add5f7a7b77e06d97b
Contents?: true
Size: 360 Bytes
Versions: 10
Compression:
Stored size: 360 Bytes
Contents
class MyPagelet < Garterbelt::View needs :user def content body.c(:my_pagelet) do partial Header, :user => user div.id(:wrapper) do text 'my page here' end end end end class Header < Garterbelt::View needs :user def content div.id(:header) do partial ViewWithPartial, :user => user end end end
Version data entries
10 entries across 10 versions & 1 rubygems