2012-12-02 20:47:09 +01:00
|
|
|
.js-main-target-form
|
2012-09-14 17:00:48 +02:00
|
|
|
- if can? current_user, :write_note, @project
|
2012-12-02 23:14:56 +01:00
|
|
|
= render "notes/form"
|
2012-09-14 17:00:48 +02:00
|
|
|
|
2012-11-18 00:41:30 +01:00
|
|
|
%ul#new-notes-list.reversed.notes
|
|
|
|
%ul#notes-list.reversed.notes
|
2012-12-02 23:14:56 +01:00
|
|
|
.notes-busy.js-notes-busy
|
2012-09-14 17:00:48 +02:00
|
|
|
|
|
|
|
:javascript
|
|
|
|
$(function(){
|
2012-12-02 20:43:39 +01:00
|
|
|
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
|
2012-09-18 07:54:17 +02:00
|
|
|
});
|