Sha256: ad3b6b72191f28523aba023f04f25e3da6190911e861f3836bba80073285841b
Contents?: true
Size: 479 Bytes
Versions: 22
Compression:
Stored size: 479 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? content_tag('div', id: supplemental_id) do @content end end def supplemental_id build_id('supplemental') end end end end
Version data entries
22 entries across 22 versions & 1 rubygems