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

Version Path
bootstrap_admin-1.0.1 app/views/defaults/_index.html.haml
bootstrap_admin-1.0.0 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.18 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.17 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.15 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.14 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.13 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.12 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.11 app/views/defaults/_index.html.haml
bootstrap_admin-0.0.10 app/views/defaults/_index.html.haml