gitlabhq/gitlabhq

View on GitHub
app/views/projects/notes/_notes_with_form.html.haml

Summary

Maintainability
Test Coverage
%ul#notes-list.notes
.js-notes-busy

.js-main-target-form
- if can? current_user, :write_note, @project
  = render "projects/notes/form"

:javascript
  NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");