From dca5d0001ab712e3821ea89e090c6021f24a89da Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 10 Apr 2013 12:56:56 +0100 Subject: [PATCH] Add CSS button class to links --- app/views/layers/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layers/index.html.haml b/app/views/layers/index.html.haml index 1b773c5..a40d751 100644 --- a/app/views/layers/index.html.haml +++ b/app/views/layers/index.html.haml @@ -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'