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