Add 'notes/reversed_notes_with_form' partial

This commit is contained in:
Riyad Preukschas 2012-09-14 17:00:48 +02:00
parent e63d7b6029
commit 7563abbe49
3 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,11 @@
- if can? current_user, :write_note, @project
= render "notes/common_form"
%ul.reversed#new-notes-list
%ul.reversed#notes-list
.notes-status
:javascript
$(function(){
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
});