Commit 14164017533388dc2a0d0f43e05ee84badbf2223

Authored by Riyad Preukschas
1 parent 6ffec9a2

Fix markup

app/assets/stylesheets/sections/notes.scss
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 * 3 *
4 */ 4 */
5 #notes-list, 5 #notes-list,
6 -#new_notes_list { 6 +#new-notes-list {
7 display:block; 7 display:block;
8 list-style:none; 8 list-style:none;
9 margin:0px; 9 margin:0px;
app/views/notes/_notes.html.haml
1 %ul#notes-list 1 %ul#notes-list
2 -%ul#new_notes_list 2 +%ul#new-notes-list
3 .notes-status 3 .notes-status
4 4
5 - if can? current_user, :write_note, @project 5 - if can? current_user, :write_note, @project
6 = render "notes/form" 6 = render "notes/form"
7 7
8 -  
9 :javascript 8 :javascript
10 $(function(){ 9 $(function(){
11 NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}"); 10 NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");