Sha256: 341c8697331d2ffefb1ff8ef766927b92dbec33c177b91e1884ee2e3873b01c0
Contents?: true
Size: 543 Bytes
Versions: 6
Compression:
Stored size: 543 Bytes
Contents
module ExpressTemplates module Components # A Row is a Container implemented as a div with # a CSS class "row" # # An optional dom ID may be specified as a symbol. # # Example: # # row(:main) { # p "Some content" # } # # This will render as: # # <div id="main" class="row"><p>Some content</p></div> # class Row < Container include Capabilities::Configurable emits { div.row(my[:id]) { _yield } } end end end
Version data entries
6 entries across 6 versions & 1 rubygems