gitlab-org--gitlab-foss/app/views/notes/_notes_with_form.html.haml
2013-05-02 11:23:58 +03:00

9 lines
229 B
Text

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