Sha256: f1894c411d5dfd9464eeb22fa7bd9af8563f0f609301b86cc9869bd84a05e6cd

Contents?: true

Size: 466 Bytes

Versions: 20

Compression:

Stored size: 466 Bytes

Contents

module ExpressAdmin
  module Components
    module Presenters
      class DefinitionTable < DefinitionList
        include ExpressTemplates::Components::Capabilities::Resourceful

        tag :table

        contains -> {
          tbody {
            definitions.each do |label, content|
              tr {
                th(align: 'left') { label }
                td { content }
              }
            end
          }
        }

      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
express_admin-1.7.25 app/components/express_admin/definition_table.rb
express_admin-1.7.24 app/components/express_admin/definition_table.rb
express_admin-1.7.23 app/components/express_admin/definition_table.rb
express_admin-1.7.22 app/components/express_admin/definition_table.rb
express_admin-1.7.21 app/components/express_admin/definition_table.rb
express_admin-1.7.20 app/components/express_admin/definition_table.rb
express_admin-1.7.19 app/components/express_admin/definition_table.rb
express_admin-1.7.18 app/components/express_admin/definition_table.rb
express_admin-1.7.17 app/components/express_admin/definition_table.rb
express_admin-1.7.16 app/components/express_admin/definition_table.rb
express_admin-1.7.16.pre1 app/components/express_admin/definition_table.rb
express_admin-1.7.15 app/components/express_admin/definition_table.rb
express_admin-1.7.14 app/components/express_admin/definition_table.rb
express_admin-1.7.13 app/components/express_admin/definition_table.rb
express_admin-1.7.12 app/components/express_admin/definition_table.rb
express_admin-1.7.11 app/components/express_admin/definition_table.rb
express_admin-1.7.10 app/components/express_admin/definition_table.rb
express_admin-1.7.9 app/components/express_admin/definition_table.rb
express_admin-1.7.8 app/components/express_admin/definition_table.rb
express_admin-1.7.7 app/components/express_admin/definition_table.rb