_notes_with_form.html.haml 272 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 %ul#notes-list.notes = render "projects/notes/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)}");