Sha256: 104de439920e3b735d3fb732f7add78472d0345a2e3ef910e4a0d3181870f18e

Contents?: true

Size: 355 Bytes

Versions: 17

Compression:

Stored size: 355 Bytes

Contents

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

    tag :table

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

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
express_admin-1.6.3 app/components/express_admin/definition_table.rb
express_admin-1.6.2 app/components/express_admin/definition_table.rb
express_admin-1.6.1 app/components/express_admin/definition_table.rb
express_admin-1.6.0 app/components/express_admin/definition_table.rb
express_admin-1.5.0 app/components/express_admin/definition_table.rb
express_admin-1.4.11 app/components/express_admin/definition_table.rb
express_admin-1.4.10 app/components/express_admin/definition_table.rb
express_admin-1.4.9 app/components/express_admin/definition_table.rb
express_admin-1.4.8 app/components/express_admin/definition_table.rb
express_admin-1.4.7 app/components/express_admin/definition_table.rb
express_admin-1.4.6 app/components/express_admin/definition_table.rb
express_admin-1.4.5 app/components/express_admin/definition_table.rb
express_admin-1.4.4 app/components/express_admin/definition_table.rb
express_admin-1.4.3 app/components/express_admin/definition_table.rb
express_admin-1.4.2 app/components/express_admin/definition_table.rb
express_admin-1.4.1 app/components/express_admin/definition_table.rb
express_admin-1.4.0 app/components/express_admin/definition_table.rb