Sha256: 19c2eae9025eb26f1632cdfa46dff7cb7791d741bb7c8460ee1260869b4e1925

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

%h1 Listing items

%table
  %tr
    %th Name
    %th Data
    %th
    %th

  - @items.each do |item|
    %tr
      %td= item.name
      %td= item.data
      %td= link_to 'Edit', cavy_edit_item_path(item.id)
      %td= link_to 'Destroy', cavy_delete_item_path(item.id), :method => :delete, :data => { :confirm => 'Are you sure?' }

%br

= link_to 'New Item', cavy_new_item_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cavy-0.1.0.beta1 app/views/cavy/items/index.html.haml