OSDN Git Service

Fix snippet render error
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 26 Nov 2012 03:14:05 +0000 (06:14 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mon, 26 Nov 2012 03:14:05 +0000 (06:14 +0300)
app/views/snippets/show.html.haml

index f05e73c..955b4e1 100644 (file)
@@ -7,6 +7,7 @@
     = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn small right"
 
 %br
+
 %div
   .file_holder
     .file_title
@@ -23,5 +24,7 @@
         %h4.nothing_here_message Empty file
 
 
-%div
+.clearfix
+
+%div#notes
   = render "notes/notes_with_form", tid: @snippet.id, tt: "snippet"