浏览代码

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'

正在加载...
取消
保存