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