2012-11-17 23:41:30 +00:00
|
|
|
%ul#notes-list.notes
|
2012-12-02 22:14:56 +00:00
|
|
|
.js-notes-busy
|
2012-09-13 00:12:44 +00:00
|
|
|
|
2012-12-02 19:47:09 +00:00
|
|
|
.js-main-target-form
|
2011-11-04 15:46:51 +00:00
|
|
|
- if can? current_user, :write_note, @project
|
2012-12-02 22:14:56 +00:00
|
|
|
= render "notes/form"
|
2012-02-24 20:19:47 +00:00
|
|
|
|
2011-10-08 21:36:38 +00:00
|
|
|
:javascript
|
2011-11-04 15:46:51 +00:00
|
|
|
$(function(){
|
2012-12-02 19:43:39 +00:00
|
|
|
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
|
2011-11-04 15:46:51 +00:00
|
|
|
});
|