Sha256: 440b01ccd712f19059c43e293e0b3bf8c32aa0f63c48d603a14840b975c22378

Contents?: true

Size: 588 Bytes

Versions: 9

Compression:

Stored size: 588 Bytes

Contents

- add_title 'Whatzits'

%table.table.table-bordered
  %thead
    %tr
      %th Name
      %th Description
      %th{colspan: '3'}
  %tbody
    - @whatzits.each do |whatzit|
      %tr
        %td= whatzit.name
        %td= whatzit.description
        %td= link_to :show.l, whatzit, class: 'btn btn-success'
        %td= link_to :edit.l, edit_whatzit_path(whatzit), class: 'btn btn-info'
        %td= link_to :destroy.l, whatzit, method: :delete, data: { confirm: :are_you_sure.l }, class: 'btn btn-danger'

%p
  = link_to :new.l(name: 'Whatzit'), new_whatzit_path, class: 'btn btn-primary'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.13 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.11 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.10 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.9 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.8 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.7 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.6 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.5 spec/dummy/app/views/whatzits/index.html.haml
bootstrap_leather-0.10.4 spec/dummy/app/views/whatzits/index.html.haml