Commit 29636d4dabd649cd96f0ab975f1bd88b652ef040
1 parent
a4e6ab0a
Exists in
master
and in
4 other branches
Fix snippet render error
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
app/views/snippets/show.html.haml
@@ -7,6 +7,7 @@ | @@ -7,6 +7,7 @@ | ||
7 | = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn small right" | 7 | = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn small right" |
8 | 8 | ||
9 | %br | 9 | %br |
10 | + | ||
10 | %div | 11 | %div |
11 | .file_holder | 12 | .file_holder |
12 | .file_title | 13 | .file_title |
@@ -23,5 +24,7 @@ | @@ -23,5 +24,7 @@ | ||
23 | %h4.nothing_here_message Empty file | 24 | %h4.nothing_here_message Empty file |
24 | 25 | ||
25 | 26 | ||
26 | -%div | 27 | +.clearfix |
28 | + | ||
29 | +%div#notes | ||
27 | = render "notes/notes_with_form", tid: @snippet.id, tt: "snippet" | 30 | = render "notes/notes_with_form", tid: @snippet.id, tt: "snippet" |