init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 additions and 0 deletions
14
app/views/notes/_notes.html.haml
Normal file
14
app/views/notes/_notes.html.haml
Normal file
|
@ -0,0 +1,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(); });
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue