Sha256: 6815e785a91acdc6fe34f8cc871139bcece4fae5ca6c3a1e447c1ee3e3a8f472

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

module Renalware
  module SectionHelper
    def section(title:)
      content_tag(:section, class: "display") do
        concat content_tag(:h4) { title }
        yield if block_given?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc3 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.rc1 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta12 app/helpers/renalware/section_helper.rb