|
@@ -6,5 +6,5 @@ |
|
|
- @layers.each do |layer| |
|
|
- @layers.each do |layer| |
|
|
%tr |
|
|
%tr |
|
|
%td= link_to layer.name, layer |
|
|
%td= link_to layer.name, layer |
|
|
%td= link_to 'Edit', edit_layer_path(layer) |
|
|
|
|
|
%td= link_to 'Delete', layer, :method => :delete, :data => { :confirm => 'Are you sure?' } |
|
|
|
|
|
|
|
|
%td= link_to 'Edit', edit_layer_path(layer), :class => 'button' |
|
|
|
|
|
%td= link_to 'Delete', layer, :method => :delete, :data => { :confirm => 'Are you sure?' }, :class => 'button' |