snippets restyle

This commit is contained in:
Dmitriy Zaporozhets 2011-11-26 00:19:14 +02:00
parent 80c34985c8
commit 0accbaae15
5 changed files with 53 additions and 40 deletions

View file

@ -2,9 +2,7 @@
- if can? current_user, :write_snippet, @project
= link_to 'New Snippet', new_project_snippet_path(@project), :class => "grey-button append-bottom-10"
%table.round-borders#snippets-table
%thead
%th
%table#snippets-table
= render @snippets.fresh
:javascript
$('.delete-snippet').live('ajax:success', function() {