Sha256: 9c1653355546cadb6ecd54257a3d8b4fe9b848caf81706d3a40ecd931acb1f2e
Contents?: true
Size: 296 Bytes
Versions: 11
Compression:
Stored size: 296 Bytes
Contents
module Trestle module GridHelper def row content_tag(:div, class: "row") { yield } end def col(columns) content_tag(:div, class: columns.map { |breakpoint, span| "col-#{breakpoint}-#{span}" }) { yield } end def divider content_tag(:hr) end end end
Version data entries
11 entries across 11 versions & 1 rubygems