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.8.12 app/helpers/para/markup_helper.rb
para-0.8.11 app/helpers/para/markup_helper.rb
para-0.8.10 app/helpers/para/markup_helper.rb
para-0.8.9 app/helpers/para/markup_helper.rb
para-0.8.8 app/helpers/para/markup_helper.rb
para-0.8.7 app/helpers/para/markup_helper.rb
para-0.8.5 app/helpers/para/markup_helper.rb
para-0.8.3.3 app/helpers/para/markup_helper.rb
para-0.8.3.2 app/helpers/para/markup_helper.rb
para-0.8.3.1 app/helpers/para/markup_helper.rb
para-0.8.3 app/helpers/para/markup_helper.rb
para-0.8.2.3 app/helpers/para/markup_helper.rb
para-0.8.2.2 app/helpers/para/markup_helper.rb
para-0.8.2.1 app/helpers/para/markup_helper.rb
para-0.8.2 app/helpers/para/markup_helper.rb
para-0.8.1 app/helpers/para/markup_helper.rb
para-0.8.0 app/helpers/para/markup_helper.rb