Sha256: bfb365ce541281eee16e0513420641baf8d8a37f069209ec63acdafca7811962

Contents?: true

Size: 519 Bytes

Versions: 7

Compression:

Stored size: 519 Bytes

Contents

.page-header
  = link_to 'New Foo', new_admin_foo_path, :class => 'btn pull-right'
  %h2= 'Foos'

= paginate @foos

%table.table.table-hover.table-bordered
  %tr
    %th.main Bar
    %th
  - @foos.each do |foo|
    %tr
      %td.main= foo.bar
      %td
        .btn-group
          = link_to 'Edit', edit_admin_foo_path(foo), :class => 'btn btn-small'
          = link_to 'Delete', admin_foo_path(foo), :method => :delete, :data => { :confirm => 'Are you sure?' }, :class => 'btn btn-small btn-danger'

= paginate @foos

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.11.2 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.11.1 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.11.0 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.10.3 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.10.2 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.10.1 test/fixtures/generators/scaffold/views/index.haml
comfortable_mexican_sofa-1.10.0 test/fixtures/generators/scaffold/views/index.haml