操作按钮的css调整

This commit is contained in:
yafeilee 2014-03-31 23:44:45 +08:00
parent a857ea6dad
commit 8db612ae0a
2 changed files with 5 additions and 1 deletions

View File

@ -29,3 +29,7 @@
}
}
.edit-post-link {
margin-right: 1rem;
}

View File

@ -17,6 +17,6 @@
span 喜欢数
span 浏览数
td
= link_to '编辑', edit_admin_post_path(post)
= link_to '编辑', edit_admin_post_path(post), class: 'edit-post-link'
= link_to '删除', admin_post_path(post), method: 'DELETE', confirm: '确认删除?'