Sha256: f83ae441bfc1892a60d829e68668960e5ebe52004e250cc802c11c13e0ca4192
Contents?: true
Size: 456 Bytes
Versions: 36
Compression:
Stored size: 456 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 if @content.blank? tag.div(id: supplemental_id) { @content } end private def supplemental_id build_id('supplemental') end end end end
Version data entries
36 entries across 36 versions & 1 rubygems