blob: 457bb8db76398ae3fafcb9e979260f2307f51459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%ul#notes-list
- @notes.each do |note|
= render :partial => "notes/show", :locals => {:note => note}
%br
%br
- if can? current_user, :write_note, @project
= render "notes/form"
:javascript
$('.delete-note').live('ajax:success', function() {
$(this).closest('li').fadeOut(); });
|