From 14164017533388dc2a0d0f43e05ee84badbf2223 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Thu, 13 Sep 2012 19:55:57 +0200 Subject: [PATCH] Fix markup --- app/assets/stylesheets/sections/notes.scss | 2 +- app/views/notes/_notes.html.haml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index b2f61d9..8db8893 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -3,7 +3,7 @@ * */ #notes-list, -#new_notes_list { +#new-notes-list { display:block; list-style:none; margin:0px; diff --git a/app/views/notes/_notes.html.haml b/app/views/notes/_notes.html.haml index e5b1ea7..14e1e84 100644 --- a/app/views/notes/_notes.html.haml +++ b/app/views/notes/_notes.html.haml @@ -1,11 +1,10 @@ %ul#notes-list -%ul#new_notes_list +%ul#new-notes-list .notes-status - if can? current_user, :write_note, @project = render "notes/form" - :javascript $(function(){ NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}"); -- libgit2 0.21.2