gitlab-org--gitlab-foss/app/views/notes/_notes_with_form.html.haml
2012-12-03 22:51:57 +01:00

11 lines
253 B
Text

%ul#notes-list.notes
.js-notes-busy
.js-main-target-form
- if can? current_user, :write_note, @project
= render "notes/form"
:javascript
$(function(){
NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
});