Sha256: 31a5f83382c21ade1107dd5d055839e629661b27fee16785dd41d5a051c1331a

Contents?: true

Size: 214 Bytes

Versions: 8

Compression:

Stored size: 214 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

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta10 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta9 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta8 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta7 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta6 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta5 app/helpers/renalware/section_helper.rb
renalware-core-2.0.0.pre.beta4 app/helpers/renalware/section_helper.rb