瀏覽代碼

Add CSS button class to links

master
Adrian Short 11 年之前
父節點
當前提交
dca5d0001a
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/views/layers/index.html.haml

+ 2
- 2
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'

Loading…
取消
儲存