Sha256: 018928cd21701a724ec7b1b70e0ca9391295e8fef8d0efc90b454794f8fe83ad
Contents?: true
Size: 725 Bytes
Versions: 19
Compression:
Stored size: 725 Bytes
Contents
# Item Table The _Item Table_ component provides a horizontal table containing a single item and its attributes. Use with an _Active Record_ model instance, an object that extends `ActiveModel::Naming`, or a simple hash-like object. See the [full keyword argument specification](options.html) for information on the various available options. ```rspec:html item = User.new(name: 'John', email: 'john@example.com', overview: 'Writes Ruby code for a living.') subject do active_element.component.table item: item, fields: [:name, :email, :overview], edit: true, destroy: true end it { is_expected.to include 'John' } ```
Version data entries
19 entries across 19 versions & 1 rubygems