snippets restyle
This commit is contained in:
parent
80c34985c8
commit
0accbaae15
5 changed files with 53 additions and 40 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue