Sha256: 545e566865494a761556002cf0d3c55960f1760c19c27c168f8e8aa5e7ae03f2

Contents?: true

Size: 504 Bytes

Versions: 19

Compression:

Stored size: 504 Bytes

Contents

module Trestle
  module HeadingsHelper
    def h1(text, options={})
      content_tag(:h1, text, options)
    end

    def h2(text, options={})
      content_tag(:h2, text, options)
    end

    def h3(text, options={})
      content_tag(:h3, text, options)
    end

    def h4(text, options={})
      content_tag(:h4, text, options)
    end

    def h5(text, options={})
      content_tag(:h5, text, options)
    end

    def h6(text, options={})
      content_tag(:h6, text, options)
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
trestle-0.10.0 app/helpers/trestle/headings_helper.rb
trestle-0.10.0.pre2 app/helpers/trestle/headings_helper.rb
trestle-0.10.0.pre app/helpers/trestle/headings_helper.rb
trestle-0.9.8 app/helpers/trestle/headings_helper.rb
trestle-0.9.7 app/helpers/trestle/headings_helper.rb
trestle-0.9.6 app/helpers/trestle/headings_helper.rb
trestle-0.9.5 app/helpers/trestle/headings_helper.rb
trestle-0.9.4 app/helpers/trestle/headings_helper.rb
trestle-0.9.3 app/helpers/trestle/headings_helper.rb
trestle-0.9.2 app/helpers/trestle/headings_helper.rb
trestle-0.9.1 app/helpers/trestle/headings_helper.rb
trestle-0.9.0 app/helpers/trestle/headings_helper.rb
trestle-0.8.13 app/helpers/trestle/headings_helper.rb
trestle-0.8.12 app/helpers/trestle/headings_helper.rb
trestle-0.8.11 app/helpers/trestle/headings_helper.rb
trestle-0.8.10 app/helpers/trestle/headings_helper.rb
trestle-0.8.9 app/helpers/trestle/headings_helper.rb
trestle-0.8.8 app/helpers/trestle/headings_helper.rb
trestle-0.8.7 app/helpers/trestle/headings_helper.rb