Browse Source

Add CSS button class to links

master
Adrian Short 11 years ago
parent
commit
dca5d0001a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/views/layers/index.html.haml

+ 2
- 2
app/views/layers/index.html.haml View File

@@ -6,5 +6,5 @@
- @layers.each do |layer|
%tr
%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'

Loading…
Cancel
Save