Sha256: 6bf7442d86a1529dd154524a439f8788d4ebddb625423d6c8404cd7733c0e3b9
Contents?: true
Size: 546 Bytes
Versions: 12
Compression:
Stored size: 546 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
12 entries across 12 versions & 2 rubygems