14 lines
232 B
Plaintext
14 lines
232 B
Plaintext
- if can? current_user, :write_note, @project
|
|
= render "notes/form"
|
|
.clear
|
|
%hr
|
|
%ul#new_notes_list
|
|
%ul#notes-list
|
|
.status
|
|
|
|
|
|
:javascript
|
|
$(function(){
|
|
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
|
|
});
|