Sha256: 30f95c2d90fbff1ada821c999bd3b59fdd2193b618d9fa6edd0f478112c36bfa
Contents?: true
Size: 460 Bytes
Versions: 21
Compression:
Stored size: 460 Bytes
Contents
module GOVUKDesignSystemFormBuilder module Containers class Supplemental < Base def initialize(builder, object_name, attribute_name, content) super(builder, object_name, attribute_name) @content = content end def html return nil if @content.blank? tag.div(id: supplemental_id) { @content } end private def supplemental_id build_id('supplemental') end end end end
Version data entries
21 entries across 21 versions & 1 rubygems