Sha256: 9cea7dfa648b87482422ce16e2ffd1b4c92cc60b2dc8214690b663ef72f08ddf

Contents?: true

Size: 532 Bytes

Versions: 37

Compression:

Stored size: 532 Bytes

Contents

module Para
  module MarkupHelper
    def alert(message, options = {}, &block)
      Para::Markup::Alert.new(self).container(message, options, &block)
    end

    def resources_table(component:, **options, &block)
      Para::Markup::ResourcesTable.new(component, self).container(options, &block)
    end

    def panel(options = {}, &block)
      Para::Markup::Panel.new(self).container(options, &block)
    end

    def modal(options = {}, &block)
      Para::Markup::Modal.new(self).container(options, &block)
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
para-0.12.4 app/helpers/para/markup_helper.rb
para-0.12.3 app/helpers/para/markup_helper.rb
para-0.12.2 app/helpers/para/markup_helper.rb
para-0.12.1 app/helpers/para/markup_helper.rb
para-0.12.0 app/helpers/para/markup_helper.rb
para-0.11.4 app/helpers/para/markup_helper.rb
para-0.11.3 app/helpers/para/markup_helper.rb
para-0.11.2 app/helpers/para/markup_helper.rb
para-0.11.1 app/helpers/para/markup_helper.rb
para-0.11.0 app/helpers/para/markup_helper.rb
para-0.10.0 app/helpers/para/markup_helper.rb
para-0.9.4 app/helpers/para/markup_helper.rb
para-0.9.3.3 app/helpers/para/markup_helper.rb
para-0.9.3.2 app/helpers/para/markup_helper.rb
para-0.9.3.1 app/helpers/para/markup_helper.rb
para-0.9.2 app/helpers/para/markup_helper.rb
para-0.9.0 app/helpers/para/markup_helper.rb
para-0.8.15 app/helpers/para/markup_helper.rb
para-0.8.14 app/helpers/para/markup_helper.rb
para-0.8.13 app/helpers/para/markup_helper.rb