25 lines
514 B
Plaintext
25 lines
514 B
Plaintext
%h1 Listing canisters
|
|
|
|
%p= link_to '+ Add Existing Canister', new_canister_path
|
|
|
|
%table
|
|
%thead
|
|
%tr
|
|
%th ICid
|
|
%th Name
|
|
-# %th User
|
|
%th
|
|
%th
|
|
%th
|
|
|
|
%tbody
|
|
- @canisters.each do |canister|
|
|
%tr
|
|
%td= canister.icid
|
|
%td= canister.name
|
|
-# %td= canister.user
|
|
%td= link_to 'Show', canister
|
|
%td= link_to 'Edit', edit_canister_path(canister)
|
|
%td= link_to 'Destroy', canister, method: :delete, data: { confirm: 'Are you sure?' }
|
|
|