Sha256: 9ccc0a0ffe858e256933c0349396e7a8fdb5a4b7f6ee7963b42ade4d0231e765
Contents?: true
Size: 417 Bytes
Versions: 10
Compression:
Stored size: 417 Bytes
Contents
- collection = collection_for controller %table.table{:class => BootstrapAdmin.ui_styles[:index]} %thead %tr - attributes.each do |attribute| %th= attribute.human_name %th.actions= t(:actions) %tbody - collection.each do |item| %tr - attributes.each do |attribute| %td= render_field item, attribute.to_s %td.actions = index_actions_for item
Version data entries
10 entries across 10 versions & 1 rubygems